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 48f8ebb7..6f38fc94 100644
--- a/tests/test_phystokens.py
+++ b/tests/test_phystokens.py
@@ -135,7 +135,7 @@ class SourceEncodingTest(CoverageTest):
)
def test_detect_source_encoding_not_in_comment(self):
- if env.PYPY and env.PY3: # pragma: no metacov
+ if env.PYPY3: # pragma: no metacov
# PyPy3 gets this case wrong. Not sure what I can do about it,
# so skip the test.
self.skipTest("PyPy3 is wrong about non-comment encoding. Skip it.")