From: Tian Gao Date: Tue, 25 Feb 2025 05:33:52 +0000 (-0500) Subject: Fix a typo in code module test (#130530) X-Git-Tag: v3.14.0a6~280 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56e337d32b88630f2c35458231cd61929f1be6d4;p=thirdparty%2FPython%2Fcpython.git Fix a typo in code module test (#130530) --- diff --git a/Lib/test/test_code_module.py b/Lib/test/test_code_module.py index 20b960ce8d1e..faa0b38f8373 100644 --- a/Lib/test/test_code_module.py +++ b/Lib/test/test_code_module.py @@ -50,9 +50,9 @@ class TestInteractiveConsole(unittest.TestCase, MockSys): 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')]