From b0d3f4919579cb02c46918f47ea4faa2e5d304fc Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 25 Feb 2025 18:38:40 +0100 Subject: [PATCH] [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 --- Lib/test/test_code_module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_code_module.py b/Lib/test/test_code_module.py index 20b960ce8d1..faa0b38f837 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')]