René's URL Explorer Experiment


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

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ed13da36-1a97-6e67-36fc-84bb2b872676
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCE98:366857:3BCC9DD:52728D5:6A4F49E1
html-safe-nonce7bff0ee1ae20454c335f3a1cb286c395abc9407cddd2b07a7c8f82a28249c216
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTk4OjM2Njg1NzozQkNDOUREOjUyNzI4RDU6NkE0RjQ5RTEiLCJ2aXNpdG9yX2lkIjoiNTk3MTczODAxMzQ5OTA4MzIzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac045d35855cbe182bda67427e5a7bf91303d6912dd765889c3ff367a85784b427
hovercard-subject-tagissue:1198850673
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/51808/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6124f9ccffdcbed785ecbaffc7d353c4a2b82579de7442627b46db75c4f8d6eb/python/cpython/issues/51808
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6124f9ccffdcbed785ecbaffc7d353c4a2b82579de7442627b46db75c4f8d6eb/python/cpython/issues/51808
og:image:altBPO 7559 Nosy @brettcannon, @rbtcollins, @mcepl, @ezio-melotti, @bitdancer, @voidspace, @cjerdonek, @Julian, @ericsnowcurrently, @berkerpeksag, @zware, @timgraham Files issuee7559_trunk_patch.diff:...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerbtcollins
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/51808#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F51808
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F51808
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/51808
Reloadhttps://github.com/python/cpython/issues/51808
Reloadhttps://github.com/python/cpython/issues/51808
Please reload this pagehttps://github.com/python/cpython/issues/51808
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/51808
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
TestLoader.loadTestsFromName swallows import errorshttps://github.com/python/cpython/issues/51808#top
https://github.com/voidspace
easyhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22easy%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/rbtcollins
rbtcollinshttps://github.com/rbtcollins
on Dec 21, 2009https://github.com/python/cpython/issues/51808#issue-1198850673
7559https://bugs.python.org/issue7559
@brettcannonhttps://github.com/brettcannon
@rbtcollinshttps://github.com/rbtcollins
@mceplhttps://github.com/mcepl
@ezio-melottihttps://github.com/ezio-melotti
@bitdancerhttps://github.com/bitdancer
@voidspacehttps://github.com/voidspace
@cjerdonekhttps://github.com/cjerdonek
@Julianhttps://github.com/Julian
@ericsnowcurrentlyhttps://github.com/ericsnowcurrently
@berkerpeksaghttps://github.com/berkerpeksag
@zwarehttps://github.com/zware
@timgrahamhttps://github.com/timgraham
issuee7559_trunk_patch.diffhttps://bugs.python.org/file15686/issuee7559_trunk_patch.diff
issuee7559_trunk_patch.diffhttps://bugs.python.org/file15728/issuee7559_trunk_patch.diff
_patch-7559-2.diffhttps://bugs.python.org/file16759/_patch-7559-2.diff
_patch-7559-3.diffhttps://bugs.python.org/file16796/_patch-7559-3.diff
_patch-7559-4-unittests.diffhttps://bugs.python.org/file16819/_patch-7559-4-unittests.diff
_patch-7559-5.diffhttps://bugs.python.org/file16822/_patch-7559-5.diff
alternate_import_fix.patchhttps://bugs.python.org/file16829/alternate_import_fix.patch
_patch-7559-6.diffhttps://bugs.python.org/file16862/_patch-7559-6.diff
unittest_loader_import_error.patchhttps://bugs.python.org/file25790/unittest_loader_import_error.patch
issue7559.patchhttps://bugs.python.org/file36578/issue7559.patch
issue7559.patchhttps://bugs.python.org/file36974/issue7559.patch
issue7559.patchhttps://bugs.python.org/file37002/issue7559.patch
issue7559.patchhttps://bugs.python.org/file37045/issue7559.patch
voidspacehttps://github.com/voidspace
easyhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22easy%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.