https://github.com/python/cpython/commit/32f1ea3f3af377963bab9e7c1195ce1e3db436b6
commit: 32f1ea3f3af377963bab9e7c1195ce1e3db436b6
branch: main
author: Aleksandr Burlakov <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-11-06T16:41:15Z
summary:

gh-161492: Fix assert in `test_str.test_compare` (#161493)

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]

Reply via email to