https://github.com/python/cpython/commit/c632048fdde96b1a8a97a12b69e1f0c813310617 commit: c632048fdde96b1a8a97a12b69e1f0c813310617 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: StanFromIreland <[email protected]> date: 2026-11-09T09:04:39Z summary:
[3.15] gh-161492: Fix assert in `test_str.test_compare` (GH-161493) (#161500) (cherry picked from commit 32f1ea3f3af377963bab9e7c1195ce1e3db436b6) Co-authored-by: Aleksandr Burlakov <[email protected]> files: M Lib/test/test_str.py diff --git a/Lib/test/test_str.py b/Lib/test/test_str.py index bef0e62fb42bcc..b4b4572256c8f2 100644 --- a/Lib/test/test_str.py +++ b/Lib/test/test_str.py @@ -2605,7 +2605,7 @@ def test_compare(self): self.assertFalse(copy1 != copy2) self.assertTrue(copy1 <= copy2) - self.assertTrue(copy2 >= copy2) + self.assertTrue(copy1 >= copy2) self.assertTrue(ascii < ascii2) self.assertTrue(ascii < latin) _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
