summaryrefslogtreecommitdiff
path: root/tests/test_phystokens.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_phystokens.py')
-rw-r--r--tests/test_phystokens.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_phystokens.py b/tests/test_phystokens.py
index 06cdd385..82b887e6 100644
--- a/tests/test_phystokens.py
+++ b/tests/test_phystokens.py
@@ -130,7 +130,7 @@ class SourceEncodingTest(CoverageTest):
assert source_encoding(source) == expected, "Wrong encoding in %r" % source
# PyPy3 gets this case wrong. Not sure what I can do about it, so skip the test.
- @pytest.mark.skipif(env.PYPY3, reason="PyPy3 is wrong about non-comment encoding. Skip it.")
+ @pytest.mark.skipif(env.PYPY, reason="PyPy3 is wrong about non-comment encoding. Skip it.")
def test_detect_source_encoding_not_in_comment(self):
# Should not detect anything here
source = b'def parse(src, encoding=None):\n pass'