Skip to content

Commit b0d3f49

Browse files
[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 56e337d) Co-authored-by: Tian Gao <[email protected]>
1 parent 28bfc1c commit b0d3f49

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
@@ -50,9 +50,9 @@ def test_ps2(self):
5050
self.infunc.side_effect = EOFError('Finished')
5151
self.console.interact()
5252
self.assertEqual(self.sysmod.ps2, '... ')
53-
self.sysmod.ps1 = 'custom2> '
53+
self.sysmod.ps2 = 'custom2> '
5454
self.console.interact()
55-
self.assertEqual(self.sysmod.ps1, 'custom2> ')
55+
self.assertEqual(self.sysmod.ps2, 'custom2> ')
5656

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

0 commit comments

Comments
 (0)