Skip to content

Commit

Permalink
Bug 1617840 [wpt PR 21954] - Unskip linting unit test by making it wo…
Browse files Browse the repository at this point in the history
…rk with python3, a=testonly

Automatic update from web-platform-tests
Fix

--

wpt-commits: b9b3e97392c4f3184a9811a76d2d955a376f1e84
wpt-pr: 21954

UltraBlame original commit: cd05a3d82feb25205c9ab1542171c7dadf520534
  • Loading branch information
marco-c committed Feb 27, 2020
1 parent 4531967 commit 5b9117b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -633,9 +633,8 @@ def test_late_timeout():
]


@pytest.mark.skipif(six.PY3, reason="Cannot parse print statements from python 3")
def test_print_statement():
error_map = check_with_files(b"def foo():\n print 'statement'\n print\n")
error_map = check_with_files(b"def foo():\n print('statement')\n print\n")

for (filename, (errors, kind)) in error_map.items():
check_errors(errors)
Expand Down

0 comments on commit 5b9117b

Please sign in to comment.