https://github.com/python/cpython/commit/def2ee1280fa1efcf75fdff6db6ce07530f4cc10
commit: def2ee1280fa1efcf75fdff6db6ce07530f4cc10
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2025-02-25T09:54:15Z
summary:

[3.12] Fix a typo in code module test (GH-130530) (GH-130533)

(cherry picked from commit 56e337d32b88630f2c35458231cd61929f1be6d4)

Co-authored-by: Tian Gao <[email protected]>

files:
M Lib/test/test_code_module.py

diff --git a/Lib/test/test_code_module.py b/Lib/test/test_code_module.py
index 06a1ba494be131..a79dd73a5b65de 100644
--- a/Lib/test/test_code_module.py
+++ b/Lib/test/test_code_module.py
@@ -46,9 +46,9 @@ def test_ps2(self):
         self.infunc.side_effect = EOFError('Finished')
         self.console.interact()
         self.assertEqual(self.sysmod.ps2, '... ')
-        self.sysmod.ps1 = 'custom2> '
+        self.sysmod.ps2 = 'custom2> '
         self.console.interact()
-        self.assertEqual(self.sysmod.ps1, 'custom2> ')
+        self.assertEqual(self.sysmod.ps2, 'custom2> ')
 
     def test_console_stderr(self):
         self.infunc.side_effect = ["'antioch'", "", EOFError('Finished')]

_______________________________________________
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