Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
gh-107450: Fix parser column offset overflow test on Windows
  • Loading branch information
lysnikolaou committed Oct 12, 2023
commit c8de7b8ed46ade2156864565570a4b20232dd532
2 changes: 1 addition & 1 deletion Lib/test/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def baz():
check('def f(*):\n pass', 1, 7)

def testMemoryErrorBigSource(self):
with self.assertRaisesRegex(OverflowError, "column offset overflow"):
with self.assertRaisesRegex(OverflowError):
Comment thread
lysnikolaou marked this conversation as resolved.
Outdated
exec(f"if True:\n {' ' * 2**31}print('hello world')")

@cpython_only
Expand Down