Title: Multiple tests failing when invoked directly via `./python Lib/test/...` · Issue #131290 · python/cpython · GitHub
Open Graph Title: Multiple tests failing when invoked directly via `./python Lib/test/...` · Issue #131290 · python/cpython
X Title: Multiple tests failing when invoked directly via `./python Lib/test/...` · Issue #131290 · python/cpython
Description: Besides test_pickle reported in #131031, there are a few more (test_regrtest, test_metaclass and test_pyclbr): ~ ./python Lib/test/test_regrtest.py ... Ran 115 tests in 35.727s FAILED (failures=1, skipped=2) ~ ./python Lib/test/test_meta...
Open Graph Description: Besides test_pickle reported in #131031, there are a few more (test_regrtest, test_metaclass and test_pyclbr): ~ ./python Lib/test/test_regrtest.py ... Ran 115 tests in 35.727s FAILED (failures=1, ...
X Description: Besides test_pickle reported in #131031, there are a few more (test_regrtest, test_metaclass and test_pyclbr): ~ ./python Lib/test/test_regrtest.py ... Ran 115 tests in 35.727s FAILED (failures=1, ...
Opengraph URL: https://github.com/python/cpython/issues/131290
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multiple tests failing when invoked directly via `./python Lib/test/...`","articleBody":"Besides `test_pickle` reported in https://github.com/python/cpython/issues/131031, there are a few more (`test_regrtest`, `test_metaclass` and `test_pyclbr`):\n\n```sh\n~ ./python Lib/test/test_regrtest.py\n...\nRan 115 tests in 35.727s\n\nFAILED (failures=1, skipped=2)\n```\n\n```sh\n~ ./python Lib/test/test_metaclass.py\n...\nRan 1 test in 0.018s\n\nFAILED (failures=1)\n```\n\n```sh\n~ ./python Lib/test/test_pyclbr.py\n...\nRan 6 tests in 1.720s\n\nFAILED (failures=1, errors=1)\n```\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-131371\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/tomasr8","@type":"Person","name":"tomasr8"},"datePublished":"2025-03-15T16:15:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/131290/cpython/issues/131290"}
| 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:6908f076-fdfe-303c-2efc-a09b39094e88 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D116:2DD09A:D34A76:12306C7:6A55C633 |
| html-safe-nonce | 5d25b0afdd65ee65aba022e6fd5675a53cc262f27f55e22135244269784fa734 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTE2OjJERDA5QTpEMzRBNzY6MTIzMDZDNzo2QTU1QzYzMyIsInZpc2l0b3JfaWQiOiIxODMyNTk1Mzc3OTkzNjY0MDUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ee2d539f105426bdecf860930c697d6ee4d4ad7dd24817f75436738d56d18751 |
| hovercard-subject-tag | issue:2922248428 |
| 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/131290/issue_layout |
| twitter:image | https://opengraph.githubassets.com/640982369ac45387ad6d985f08662010d4be8acb70cf3a6ec003be6f4bf69ce5/python/cpython/issues/131290 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/640982369ac45387ad6d985f08662010d4be8acb70cf3a6ec003be6f4bf69ce5/python/cpython/issues/131290 |
| og:image:alt | Besides test_pickle reported in #131031, there are a few more (test_regrtest, test_metaclass and test_pyclbr): ~ ./python Lib/test/test_regrtest.py ... Ran 115 tests in 35.727s FAILED (failures=1, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tomasr8 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 8f8e1726192df8dce16872ceb503336c12e9ae78 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width