Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 56e337d

Browse files
authoredFeb 25, 2025
Fix a typo in code module test (python#130530)
1 parent ccb4ad9 commit 56e337d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Lib/test/test_code_module.py

+2-2
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)
Please sign in to comment.