Title: TestLoader.loadTestsFromName swallows import errors · Issue #51808 · python/cpython · GitHub
Open Graph Title: TestLoader.loadTestsFromName swallows import errors · Issue #51808 · python/cpython
X Title: TestLoader.loadTestsFromName swallows import errors · Issue #51808 · python/cpython
Description: BPO 7559 Nosy @brettcannon, @rbtcollins, @mcepl, @ezio-melotti, @bitdancer, @voidspace, @cjerdonek, @Julian, @ericsnowcurrently, @berkerpeksag, @zware, @timgraham Files issuee7559_trunk_patch.diff: Patch against trunk (work in progress)i...
Open Graph Description: BPO 7559 Nosy @brettcannon, @rbtcollins, @mcepl, @ezio-melotti, @bitdancer, @voidspace, @cjerdonek, @Julian, @ericsnowcurrently, @berkerpeksag, @zware, @timgraham Files issuee7559_trunk_patch.diff:...
X Description: BPO 7559 Nosy @brettcannon, @rbtcollins, @mcepl, @ezio-melotti, @bitdancer, @voidspace, @cjerdonek, @Julian, @ericsnowcurrently, @berkerpeksag, @zware, @timgraham Files issuee7559_trunk_patch.diff:...
Opengraph URL: https://github.com/python/cpython/issues/51808
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TestLoader.loadTestsFromName swallows import errors","articleBody":"BPO | [7559](https://bugs.python.org/issue7559)\n--- | :---\nNosy | @brettcannon, @rbtcollins, @mcepl, @ezio-melotti, @bitdancer, @voidspace, @cjerdonek, @Julian, @ericsnowcurrently, @berkerpeksag, @zware, @timgraham\nFiles | \u003cli\u003e[issuee7559_trunk_patch.diff](https://bugs.python.org/file15686/issuee7559_trunk_patch.diff \"Uploaded as text/plain at 2009-12-28.15:40:12 by slmnhq\"): Patch against trunk (work in progress)\u003c/li\u003e\u003cli\u003e[issuee7559_trunk_patch.diff](https://bugs.python.org/file15728/issuee7559_trunk_patch.diff \"Uploaded as text/plain at 2010-01-03.22:01:23 by slmnhq\"): Patch against trunk, adds new unittest.\u003c/li\u003e\u003cli\u003e[_patch-7559-2.diff](https://bugs.python.org/file16759/_patch-7559-2.diff \"Uploaded as text/plain at 2010-04-04.22:45:34 by @cjerdonek\"): Patch against trunk (work in progress)\u003c/li\u003e\u003cli\u003e[_patch-7559-3.diff](https://bugs.python.org/file16796/_patch-7559-3.diff \"Uploaded as text/plain at 2010-04-07.06:08:33 by @cjerdonek\"): Patch against trunk (needs review)\u003c/li\u003e\u003cli\u003e[_patch-7559-4-unittests.diff](https://bugs.python.org/file16819/_patch-7559-4-unittests.diff \"Uploaded as text/plain at 2010-04-08.15:28:50 by @cjerdonek\"): Candidate unit tests (4 tests)\u003c/li\u003e\u003cli\u003e[_patch-7559-5.diff](https://bugs.python.org/file16822/_patch-7559-5.diff \"Uploaded as text/plain at 2010-04-08.18:05:39 by @cjerdonek\"): Patch against trunk (minor clean-up needed)\u003c/li\u003e\u003cli\u003e[alternate_import_fix.patch](https://bugs.python.org/file16829/alternate_import_fix.patch \"Uploaded as text/plain at 2010-04-08.20:28:19 by @bitdancer\")\u003c/li\u003e\u003cli\u003e[_patch-7559-6.diff](https://bugs.python.org/file16862/_patch-7559-6.diff \"Uploaded as text/plain at 2010-04-10.22:48:13 by @cjerdonek\"): Requesting review\u003c/li\u003e\u003cli\u003e[unittest_loader_import_error.patch](https://bugs.python.org/file25790/unittest_loader_import_error.patch \"Uploaded as text/plain at 2012-06-01.19:48:00 by @bitdancer\")\u003c/li\u003e\u003cli\u003e[issue7559.patch](https://bugs.python.org/file36578/issue7559.patch \"Uploaded as text/plain at 2014-09-08.23:22:16 by @rbtcollins\"): Obsolete\u003c/li\u003e\u003cli\u003e[issue7559.patch](https://bugs.python.org/file36974/issue7559.patch \"Uploaded as text/plain at 2014-10-20.01:09:59 by @rbtcollins\")\u003c/li\u003e\u003cli\u003e[issue7559.patch](https://bugs.python.org/file37002/issue7559.patch \"Uploaded as text/plain at 2014-10-24.03:51:44 by @rbtcollins\")\u003c/li\u003e\u003cli\u003e[issue7559.patch](https://bugs.python.org/file37045/issue7559.patch \"Uploaded as text/plain at 2014-10-27.20:35:34 by @rbtcollins\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/voidspace'\nclosed_at = \u003cDate 2014-10-29.19:29:09.736\u003e\ncreated_at = \u003cDate 2009-12-21.21:07:15.519\u003e\nlabels = ['easy', 'type-bug', 'library']\ntitle = 'TestLoader.loadTestsFromName swallows import errors'\nupdated_at = \u003cDate 2016-01-11.16:39:58.962\u003e\nuser = 'https://github.com/rbtcollins'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2016-01-11.16:39:58.962\u003e\nactor = 'mcepl'\nassignee = 'michael.foord'\nclosed = True\nclosed_date = \u003cDate 2014-10-29.19:29:09.736\u003e\ncloser = 'python-dev'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2009-12-21.21:07:15.519\u003e\ncreator = 'rbcollins'\ndependencies = []\nfiles = ['15686', '15728', '16759', '16796', '16819', '16822', '16829', '16862', '25790', '36578', '36974', '37002', '37045']\nhgrepos = []\nissue_num = 7559\nkeywords = ['patch', 'easy']\nmessage_count = 60.0\nmessages = ['96770', '96774', '96777', '96787', '96788', '96789', '96790', '96891', '96956', '97180', '97457', '97462', '101867', '102236', '102356', '102519', '102550', '102554', '102603', '102621', '102638', '102643', '102708', '102719', '102801', '140187', '140297', '140328', '158911', '158920', '158921', '162101', '162190', '162212', '162239', '162241', '162264', '162265', '162266', '162272', '185310', '185328', '185329', '221984', '221985', '226614', '226616', '226633', '226658', '226663', '226666', '226667', '229705', '229911', '230104', '230234', '230557', '230565', '230734', '244687']\nnosy_count = 18.0\nnosy_names = ['brett.cannon', 'rbcollins', 'vila', 'mcepl', 'iElectric', 'ezio.melotti', 'r.david.murray', 'michael.foord', 'slmnhq', 'chris.jerdonek', 'BreamoreBoy', 'Julian', 'python-dev', 'eric.snow', 'alexgarel', 'berker.peksag', 'zach.ware', 'Tim.Graham']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue7559'\nversions = ['Python 3.5']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/rbtcollins","@type":"Person","name":"rbtcollins"},"datePublished":"2009-12-21T21:07:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":60},"url":"https://github.com/51808/cpython/issues/51808"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ed13da36-1a97-6e67-36fc-84bb2b872676 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE98:366857:3BCC9DD:52728D5:6A4F49E1 |
| html-safe-nonce | 7bff0ee1ae20454c335f3a1cb286c395abc9407cddd2b07a7c8f82a28249c216 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTk4OjM2Njg1NzozQkNDOUREOjUyNzI4RDU6NkE0RjQ5RTEiLCJ2aXNpdG9yX2lkIjoiNTk3MTczODAxMzQ5OTA4MzIzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 045d35855cbe182bda67427e5a7bf91303d6912dd765889c3ff367a85784b427 |
| hovercard-subject-tag | issue:1198850673 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/51808/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6124f9ccffdcbed785ecbaffc7d353c4a2b82579de7442627b46db75c4f8d6eb/python/cpython/issues/51808 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6124f9ccffdcbed785ecbaffc7d353c4a2b82579de7442627b46db75c4f8d6eb/python/cpython/issues/51808 |
| og:image:alt | BPO 7559 Nosy @brettcannon, @rbtcollins, @mcepl, @ezio-melotti, @bitdancer, @voidspace, @cjerdonek, @Julian, @ericsnowcurrently, @berkerpeksag, @zware, @timgraham Files issuee7559_trunk_patch.diff:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rbtcollins |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width