https://github.com/python/cpython/commit/b0d3f4919579cb02c46918f47ea4faa2e5d304fc
commit: b0d3f4919579cb02c46918f47ea4faa2e5d304fc
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: gaogaotiantian <gaogaotiant...@hotmail.com>
date: 2025-02-25T17:38:40Z
summary:

[3.13] Fix a typo in code module test (GH-130530) (#130534)

Fix a typo in code module test (GH-130530)
(cherry picked from commit 56e337d32b88630f2c35458231cd61929f1be6d4)

Co-authored-by: Tian Gao <gaogaotiant...@hotmail.com>

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 20b960ce8d1e02..faa0b38f8373e3 100644
--- a/Lib/test/test_code_module.py
+++ b/Lib/test/test_code_module.py
@@ -50,9 +50,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 -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to