Skip to content

Commit cad1748

Browse files
committed
Don't rely on line numbering on Windows...
1 parent b76db67 commit cad1748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def test_pythonstartup_failure(self):
323323
for chunk in (
324324
"Traceback (most recent call last):",
325325
'File "<stdin>", line 1, in <module>',
326-
f'File "{env['PYTHONSTARTUP']}", line 2, in foo',
326+
f'File "{env['PYTHONSTARTUP']}", line ',
327327
"ZeroDivisionError: division by zero",
328328
):
329329
self.assertIn(chunk, output)

0 commit comments

Comments
 (0)