Get rid of Python 3.3 artifacts

This commit is contained in:
Dave Halter committed 2020-01-05 23:59:38 +01:00
1 parent 4090c80401
commit 9ee7409d8a
6 files changed
+8 -9

No files matched your search

+1 -2
View File
@@ -37,8 +37,7 @@ def test_python_exception_matches(code):
error, = errors
actual = error.message
assert actual in wanted
# Somehow in Python3.3 the SyntaxError().lineno is sometimes None
assert line_nr is None or line_nr == error.start_pos[0]
assert line_nr == error.start_pos[0]
def test_non_async_in_async():