Fix a typo in code module test (#130530)

This commit is contained in:
Tian Gao 2025-02-25 00:33:52 -05:00 committed by GitHub
parent ccb4ad9219
commit 56e337d32b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,9 +50,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')]