Title: Fix a typo in test test_str.py · Issue #161492 · python/cpython · GitHub
Open Graph Title: Fix a typo in test test_str.py · Issue #161492 · python/cpython
X Title: Fix a typo in test test_str.py · Issue #161492 · python/cpython
Description: Bug report Problem: 'greater or equals' in expression 'copy2 >= copy2' (/Lib/test/test_str.py:2608) has the same arguments. The idea of this part of test is to compare variables copy1 and copy2. self.assertTrue(copy2 >= copy2) Solution: ...
Open Graph Description: Bug report Problem: 'greater or equals' in expression 'copy2 >= copy2' (/Lib/test/test_str.py:2608) has the same arguments. The idea of this part of test is to compare variables copy1 and copy2. se...
X Description: Bug report Problem: 'greater or equals' in expression 'copy2 >= copy2' (/Lib/test/test_str.py:2608) has the same arguments. The idea of this part of test is to compare variables ...
Opengraph URL: https://github.com/python/cpython/issues/161492
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix a typo in test test_str.py","articleBody":"### Bug report\n\n## Problem:\n'greater or equals' in expression 'copy2 >= copy2' (/Lib/test/test_str.py:2608) has the same arguments. The idea of this part of test is to compare variables copy1 and copy2.\n\n```python\nself.assertTrue(copy2 >= copy2)\n```\n## Solution:\nchange expression to 'copy1 >= copy2'\n\n```python\nself.assertTrue(copy1 >= copy2)\n```\n\n### CPython versions tested on:\n\n3.12\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-161493\n* gh-161499\n* gh-161500\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/samitistfobos-dev","@type":"Person","name":"samitistfobos-dev"},"datePublished":"2026-11-06T13:40:41Z","url":"https://github.com/python/cpython/issues/161492"}
| 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:67be3a42-a27f-e087-fd7d-a48aeae89560 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 816C:29FFA9:3C79179:4C8B881:6B0202A0 |
| html-safe-nonce | e105b9fc36fe1c04fbdd648cba7252cde3dd052ddf88043225c691267622c1d9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTZDOjI5RkZBOTozQzc5MTc5OjRDOEI4ODE6NkIwMjAyQTAiLCJ2aXNpdG9yX2lkIjoiNzIzMDA2MDk4NzY3ODg1MTc0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2ed69a073de0a92f83950148a2d1f883cf4c736c80ccb562e90f75e6690109fc |
| hovercard-subject-tag | issue:6243696174 |
| 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/161492/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9254a71b710589467dcb8cf167446e208293f98d8e763177097721f1c654c9a1/python/cpython/issues/161492 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9254a71b710589467dcb8cf167446e208293f98d8e763177097721f1c654c9a1/python/cpython/issues/161492 |
| og:image:alt | Bug report Problem: 'greater or equals' in expression 'copy2 >= copy2' (/Lib/test/test_str.py:2608) has the same arguments. The idea of this part of test is to compare variables copy1 and copy2. se... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | samitistfobos-dev |
| 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