Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
svillar authored and jgraham committed Feb 25, 2020
1 parent 48d212d commit b9b3e97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/lint/tests/test_file_lints.py
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 b9b3e97

Please sign in to comment.