Title: test.test_annotationlib.TestStringFormat.test_displays shouldn't rely on set's order of elements · Issue #133682 · python/cpython · GitHub
Open Graph Title: test.test_annotationlib.TestStringFormat.test_displays shouldn't rely on set's order of elements · Issue #133682 · python/cpython
X Title: test.test_annotationlib.TestStringFormat.test_displays shouldn't rely on set's order of elements · Issue #133682 · python/cpython
Description: Bug report Bug description: We've hit a failure during Python's 3.14.0b1 build - test apparently checks for an exact order of elements in a set which will sometimes fail: FAIL: test_displays (test.test_annotationlib.TestStringFormat.test...
Open Graph Description: Bug report Bug description: We've hit a failure during Python's 3.14.0b1 build - test apparently checks for an exact order of elements in a set which will sometimes fail: FAIL: test_displays (test....
X Description: Bug report Bug description: We've hit a failure during Python's 3.14.0b1 build - test apparently checks for an exact order of elements in a set which will sometimes fail: FAIL: test_display...
Opengraph URL: https://github.com/python/cpython/issues/133682
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test.test_annotationlib.TestStringFormat.test_displays shouldn't rely on set's order of elements","articleBody":"# Bug report\n\n### Bug description:\n\nWe've hit a failure during Python's 3.14.0b1 build - test apparently checks for an exact order of elements in a set which will sometimes fail:\n\n```pytb\nFAIL: test_displays (test.test_annotationlib.TestStringFormat.test_displays)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/builddir/build/BUILD/python3.14-3.14.0_b1-build/Python-3.14.0b1/Lib/test/test_annotationlib.py\", line 349, in test_displays\n self.assertEqual(\n ~~~~~~~~~~~~~~~~^\n anno,\n ^^^^^\n ...\u003c5 lines\u003e...\n },\n ^^\n )\n ^\nAssertionError: {'w':[29 chars] 'a[{str, int}, 3]', 'y': 'a[{int: str}, 4]', [19 chars] 5]'} != {'w':[29 chars] 'a[{int, str}, 3]', 'y': 'a[{int: str}, 4]', [19 chars] 5]'}\n {'w': 'a[[int, str], float]',\n- 'x': 'a[{str, int}, 3]',\n? -----\n+ 'x': 'a[{int, str}, 3]',\n? +++++\n 'y': 'a[{int: str}, 4]',\n 'z': 'a[(int, str), 5]'}\n```\n\n\n### CPython versions tested on:\n\n3.14\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-133702\n* gh-133754\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/befeleme","@type":"Person","name":"befeleme"},"datePublished":"2025-05-08T16:42:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/133682/cpython/issues/133682"}
| 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:c539564e-8bf7-99f3-4ea9-23f8743ec5aa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90EC:3161F8:4C1800:65F347:6A53E85D |
| html-safe-nonce | 8a8939fe204108b882f6f771e6520a48528de1d380a38ab5fd14a996d9acb11f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEVDOjMxNjFGODo0QzE4MDA6NjVGMzQ3OjZBNTNFODVEIiwidmlzaXRvcl9pZCI6IjI3NDQyOTI2Mzg1ODA3OTU0ODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1a50bb85943c3074aeb306184983d94e7f76861da9e547575f5641bfda683d84 |
| hovercard-subject-tag | issue:3049558545 |
| 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/133682/issue_layout |
| twitter:image | https://opengraph.githubassets.com/263c626d739d5bf21443c6e1aa1e26fe8d50518006237e256de16764b6564638/python/cpython/issues/133682 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/263c626d739d5bf21443c6e1aa1e26fe8d50518006237e256de16764b6564638/python/cpython/issues/133682 |
| og:image:alt | Bug report Bug description: We've hit a failure during Python's 3.14.0b1 build - test apparently checks for an exact order of elements in a set which will sometimes fail: FAIL: test_displays (test.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | befeleme |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width