mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +00:00
[3.12] Fix a typo in code module test (GH-130530) (GH-130533)
(cherry picked from commit 56e337d32b)
Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
This commit is contained in:
parent
e38cded312
commit
def2ee1280
1 changed files with 2 additions and 2 deletions
|
|
@ -46,9 +46,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')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue