Title: Some unconventional `setUpClass()` in tests · Issue #162535 · python/cpython · GitHub
Open Graph Title: Some unconventional `setUpClass()` in tests · Issue #162535 · python/cpython
X Title: Some unconventional `setUpClass()` in tests · Issue #162535 · python/cpython
Description: There are some test classes use non-standard setUpClass signatures: cpython/Lib/test/test_cmd.py Line 274 in 32b51e3 def setUpClass(): cpython/Lib/test/test_dbm_gnu.py Lines 13 to 14 in 32b51e3 @staticmethod def setUpClass(): cpython/Lib...
Open Graph Description: There are some test classes use non-standard setUpClass signatures: cpython/Lib/test/test_cmd.py Line 274 in 32b51e3 def setUpClass(): cpython/Lib/test/test_dbm_gnu.py Lines 13 to 14 in 32b51e3 @st...
X Description: There are some test classes use non-standard setUpClass signatures: cpython/Lib/test/test_cmd.py Line 274 in 32b51e3 def setUpClass(): cpython/Lib/test/test_dbm_gnu.py Lines 13 to 14 in 32b51e3 @st...
Opengraph URL: https://github.com/python/cpython/issues/162535
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Some unconventional `setUpClass()` in tests","articleBody":"There are some test classes use non-standard setUpClass signatures:\n\nhttps://github.com/python/cpython/blob/32b51e34318e6dd355f3fb40b8abf94c205444b1/Lib/test/test_cmd.py#L274-L274\nhttps://github.com/python/cpython/blob/32b51e34318e6dd355f3fb40b8abf94c205444b1/Lib/test/test_dbm_gnu.py#L13-L14\nhttps://github.com/python/cpython/blob/32b51e34318e6dd355f3fb40b8abf94c205444b1/Lib/test/test_dtrace.py#L456-L457\n\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-162536\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/tanloong","@type":"Person","name":"tanloong"},"datePublished":"2026-11-24T08:18:10Z","url":"https://github.com/python/cpython/issues/162535"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:2576b9b9-8aa7-6e23-bb6a-f176344402cc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8FBE:2C6577:CFBB04:118EF3A:6B064C03 |
| html-safe-nonce | 2b28ab0c64039c23783efc9a31593714bd9499f711d535a350180ac60c41c4df |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkJFOjJDNjU3NzpDRkJCMDQ6MTE4RUYzQTo2QjA2NEMwMyIsInZpc2l0b3JfaWQiOiIxOTU5MTY4NzgxNDc3ODkxMDc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f13ae88cfbbf6644a87209783495672af7135113c9af2e2a99586bcd9e37bdd5 |
| hovercard-subject-tag | issue:6577565185 |
| 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/162535/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b6de860fb17abd27b123ae01b035008150bf4c962a3f6667a7dcdd2517af610/python/cpython/issues/162535 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b6de860fb17abd27b123ae01b035008150bf4c962a3f6667a7dcdd2517af610/python/cpython/issues/162535 |
| og:image:alt | There are some test classes use non-standard setUpClass signatures: cpython/Lib/test/test_cmd.py Line 274 in 32b51e3 def setUpClass(): cpython/Lib/test/test_dbm_gnu.py Lines 13 to 14 in 32b51e3 @st... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tanloong |
| hostname | github.com |
| expected-hostname | github.com |
| None | 772b6997ca4daa0428dd49a25d76052e765555ae560fe9c88517eb828bbd861e |
| 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 | f1f9a08f7c769a37f1dfc18ad43d463c222a7eea |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width