mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
[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:
parent
28bfc1c996
commit
b0d3f49195
1 changed files with 2 additions and 2 deletions
|
@ -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')]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue