Title: `test_typing` fails refleak tests · Issue #104415 · python/cpython · GitHub
Open Graph Title: `test_typing` fails refleak tests · Issue #104415 · python/cpython
X Title: `test_typing` fails refleak tests · Issue #104415 · python/cpython
Description: Repro: ./python.exe -m test -R 3:3 -v test_typing The first test round passes, but the second one fails with: ====================================================================== FAIL: test_bytestring (test.test_typing.CollectionsAbcTe...
Open Graph Description: Repro: ./python.exe -m test -R 3:3 -v test_typing The first test round passes, but the second one fails with: ====================================================================== FAIL: test_bytes...
X Description: Repro: ./python.exe -m test -R 3:3 -v test_typing The first test round passes, but the second one fails with: ====================================================================== FAIL: test_bytes...
Opengraph URL: https://github.com/python/cpython/issues/104415
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`test_typing` fails refleak tests","articleBody":"Repro: `./python.exe -m test -R 3:3 -v test_typing`\r\n\r\nThe first test round passes, but the second one fails with:\r\n\r\n```python\r\n======================================================================\r\nFAIL: test_bytestring (test.test_typing.CollectionsAbcTests.test_bytestring)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py\", line 6007, in test_bytestring\r\n with self.assertWarns(DeprecationWarning):\r\nAssertionError: DeprecationWarning not triggered\r\n\r\n----------------------------------------------------------------------\r\nRan 576 tests in 1.479s\r\n\r\nFAILED (failures=1, skipped=1)\r\ntest test_typing failed\r\ntest_typing failed (1 failure)\r\n```\r\n\r\nI am working on a fix.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104416\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/sobolevn","@type":"Person","name":"sobolevn"},"datePublished":"2023-05-12T07:00:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/104415/cpython/issues/104415"}
| 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:08f60706-f75a-255e-9c25-5636ec388cb0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFA0:28B0D7:41FAE2:5DE325:696A0B40 |
| html-safe-nonce | 32b57a13a2d4db3d21bb8fb26c80093d5640728063184c891ddf24766b1c888e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkEwOjI4QjBENzo0MUZBRTI6NURFMzI1OjY5NkEwQjQwIiwidmlzaXRvcl9pZCI6IjI0MTU1MTA2NzAyOTU3MjQxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3a911c1e192c11713a5db5d29c612591c404c24c1735bd64833afd2b1e8b3bc6 |
| hovercard-subject-tag | issue:1707054682 |
| 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/104415/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5908fba9c2ab00be7202cf6fd6181217f480421083b57f4b4f104ebdb51a11b9/python/cpython/issues/104415 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5908fba9c2ab00be7202cf6fd6181217f480421083b57f4b4f104ebdb51a11b9/python/cpython/issues/104415 |
| og:image:alt | Repro: ./python.exe -m test -R 3:3 -v test_typing The first test round passes, but the second one fails with: ====================================================================== FAIL: test_bytes... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sobolevn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| 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 | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width