Skip to content

Commit

Permalink
test: reproduce ossfuzz-69058
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed May 18, 2024
1 parent 81089de commit 2daf0a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def foo():
pytest.param("0 spaces\n 2\n 1", id="bad_indent"),
pytest.param("'''", id="string_eof"),
pytest.param("$hello", id="dollar"),
pytest.param("\xFF\x8D\xA7\xDC\n''\xA7"),
])
def test_not_python(self, text: str) -> None:
msg = r"Couldn't parse '<code>' as Python source: '.*' at line \d+"
Expand Down

0 comments on commit 2daf0a8

Please sign in to comment.