Skip to content

Commit def2ee1

Browse files
[3.12] Fix a typo in code module test (pythonGH-130530) (pythonGH-130533)
(cherry picked from commit 56e337d) Co-authored-by: Tian Gao <[email protected]>
1 parent e38cded commit def2ee1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_code_module.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ def test_ps2(self):
4646
self.infunc.side_effect = EOFError('Finished')
4747
self.console.interact()
4848
self.assertEqual(self.sysmod.ps2, '... ')
49-
self.sysmod.ps1 = 'custom2> '
49+
self.sysmod.ps2 = 'custom2> '
5050
self.console.interact()
51-
self.assertEqual(self.sysmod.ps1, 'custom2> ')
51+
self.assertEqual(self.sysmod.ps2, 'custom2> ')
5252

5353
def test_console_stderr(self):
5454
self.infunc.side_effect = ["'antioch'", "", EOFError('Finished')]

0 commit comments

Comments
 (0)