Title: test_ast: test_nodes_have_inline_values() fails when test_ast is run twice · Issue #161354 · python/cpython · GitHub
Open Graph Title: test_ast: test_nodes_have_inline_values() fails when test_ast is run twice · Issue #161354 · python/cpython
X Title: test_ast: test_nodes_have_inline_values() fails when test_ast is run twice · Issue #161354 · python/cpython
Description: Run: ./python -m test test_ast test_ast -v Logs: ====================================================================== FAIL: test_nodes_have_inline_values (test.test_ast.test_ast.AST_Tests.test_nodes_have_inline_values) (node='Store') -...
Open Graph Description: Run: ./python -m test test_ast test_ast -v Logs: ====================================================================== FAIL: test_nodes_have_inline_values (test.test_ast.test_ast.AST_Tests.test_no...
X Description: Run: ./python -m test test_ast test_ast -v Logs: ====================================================================== FAIL: test_nodes_have_inline_values (test.test_ast.test_ast.AST_Tests.test_no...
Opengraph URL: https://github.com/python/cpython/issues/161354
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_ast: test_nodes_have_inline_values() fails when test_ast is run twice","articleBody":"Run: `./python -m test test_ast test_ast -v`\n\nLogs:\n\n```\n======================================================================\nFAIL: test_nodes_have_inline_values (test.test_ast.test_ast.AST_Tests.test_nodes_have_inline_values) (node='Store')\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"B:\\uildarea\\3.x.ware-ws2025.refleak\\build\\Lib\\test\\test_ast\\test_ast.py\", line 111, in test_nodes_have_inline_values\n self.assertTrue(_testinternalcapi.has_inline_values(node))\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: False is not true\n\n======================================================================\nFAIL: test_nodes_have_inline_values (test.test_ast.test_ast.AST_Tests.test_nodes_have_inline_values) (node='Load')\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"B:\\uildarea\\3.x.ware-ws2025.refleak\\build\\Lib\\test\\test_ast\\test_ast.py\", line 111, in test_nodes_have_inline_values\n self.assertTrue(_testinternalcapi.has_inline_values(node))\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: False is not true\n\n======================================================================\nFAIL: test_nodes_have_inline_values (test.test_ast.test_ast.AST_Tests.test_nodes_have_inline_values) (node='Load')\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"B:\\uildarea\\3.x.ware-ws2025.refleak\\build\\Lib\\test\\test_ast\\test_ast.py\", line 111, in test_nodes_have_inline_values\n self.assertTrue(_testinternalcapi.has_inline_values(node))\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: False is not true\n```\n\nFor a concrete example, see AMD64 Windows Server 2025 Refleaks 3.x: https://buildbot.python.org/#/builders/2263/builds/454\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-161406\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2026-11-04T21:02:57Z","url":"https://github.com/python/cpython/issues/161354"}
| 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:c552355f-8ba7-a7b6-2d15-a045ae537542 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B8B2:2AAD2E:3588D52:476C8F7:6B0209C4 |
| html-safe-nonce | 0e73028ece909fd4a7da296c147b893a6000fc132013da33d4651ad83c371d35 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEIyOjJBQUQyRTozNTg4RDUyOjQ3NkM4Rjc6NkIwMjA5QzQiLCJ2aXNpdG9yX2lkIjoiMTg5NDc2NDQwNjg0NDI5NTYyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 06472b74bb6293212c9c7390a302ed9cf36c04e93e8bbb0b30a77bfef4b0444c |
| hovercard-subject-tag | issue:6211344608 |
| 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/161354/issue_layout |
| twitter:image | https://opengraph.githubassets.com/36ba2cdf346bda5374597b065caf4f82d9af01e931bbe211c6027157af9ac4b4/python/cpython/issues/161354 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/36ba2cdf346bda5374597b065caf4f82d9af01e931bbe211c6027157af9ac4b4/python/cpython/issues/161354 |
| og:image:alt | Run: ./python -m test test_ast test_ast -v Logs: ====================================================================== FAIL: test_nodes_have_inline_values (test.test_ast.test_ast.AST_Tests.test_no... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width