[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 56e337d32b)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
This commit is contained in:
Miss Islington (bot) 2025-02-25 18:38:40 +01:00 committed by GitHub
parent 28bfc1c996
commit b0d3f49195
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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')]