Title: test_capi fails if run with ``--forever`` argument · Issue #105273 · python/cpython · GitHub
Open Graph Title: test_capi fails if run with ``--forever`` argument · Issue #105273 · python/cpython
X Title: test_capi fails if run with ``--forever`` argument · Issue #105273 · python/cpython
Description: Tried on current main: Fails on test_capi/test_misc/TestOptimizerAPI.test_counter_optimizer ./python -m test -v test_capi -m test_misc -m TestOptimizerAPI --forever ... many lines =========================================================...
Open Graph Description: Tried on current main: Fails on test_capi/test_misc/TestOptimizerAPI.test_counter_optimizer ./python -m test -v test_capi -m test_misc -m TestOptimizerAPI --forever ... many lines =================...
X Description: Tried on current main: Fails on test_capi/test_misc/TestOptimizerAPI.test_counter_optimizer ./python -m test -v test_capi -m test_misc -m TestOptimizerAPI --forever ... many lines =================...
Opengraph URL: https://github.com/python/cpython/issues/105273
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_capi fails if run with ``--forever`` argument","articleBody":"Tried on current main:\r\nFails on test_capi/test_misc/TestOptimizerAPI.test_counter_optimizer\r\n```python\r\n./python -m test -v test_capi -m test_misc -m TestOptimizerAPI --forever\r\n... many lines\r\n======================================================================\r\nFAIL: test_counter_optimizer (test.test_capi.test_misc.TestOptimizerAPI.test_counter_optimizer)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"C:\\Users\\KIRILL-1\\CLionProjects\\cpython\\Lib\\test\\test_capi\\test_misc.py\", line 1929, in test_counter_optimizer\r\n self.assertEqual(opt.get_count(), 1000)\r\nAssertionError: 0 != 1000\r\n\r\n----------------------------------------------------------------------\r\nRan 168 tests in 6.590s\r\n\r\nFAILED (failures=1, skipped=5)\r\ntest test_capi failed\r\ntest_capi failed (1 failure)\r\n\r\n== Tests result: FAILURE ==\r\n\r\n1 test OK.\r\n\r\n1 test failed:\r\n test_capi\r\n\r\nTotal duration: 13.2 sec\r\nTests result: FAILURE\r\n```","author":{"url":"https://github.com/Eclips4","@type":"Person","name":"Eclips4"},"datePublished":"2023-06-03T20:29:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/105273/cpython/issues/105273"}
| 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:e7d14c05-8450-fcb3-6648-b2d7a8a0a14e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E41A:2A6639:3A2FBF:4C277D:696B06A3 |
| html-safe-nonce | 6d4bf08ed372f73929393f67e48c547acc5d7a113a92d2a0229ac6e4c2d2e782 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDFBOjJBNjYzOTozQTJGQkY6NEMyNzdEOjY5NkIwNkEzIiwidmlzaXRvcl9pZCI6IjE2MDY0MjQ5NTk5NzE0MjgwMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6e379ba20198650725f59a5f564a1df7df1cdfbc16061284f9ca51f4728c297d |
| hovercard-subject-tag | issue:1739880006 |
| 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/105273/issue_layout |
| twitter:image | https://opengraph.githubassets.com/13e49a2339de632dd1d921fc59983c3a329883602b11ff1f9bc14f67678e87cf/python/cpython/issues/105273 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/13e49a2339de632dd1d921fc59983c3a329883602b11ff1f9bc14f67678e87cf/python/cpython/issues/105273 |
| og:image:alt | Tried on current main: Fails on test_capi/test_misc/TestOptimizerAPI.test_counter_optimizer ./python -m test -v test_capi -m test_misc -m TestOptimizerAPI --forever ... many lines =================... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Eclips4 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width