summaryrefslogtreecommitdiff
path: root/tests/test_phystokens.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-12-31 11:23:01 -0500
committerNed Batchelder <ned@nedbatchelder.com>2019-12-31 11:58:08 -0500
commit957e6a6f17a9eb8eea51be972052fcd98ff7a2fd (patch)
tree459f7bfcef66c16640b4f434910894bb84b77c58 /tests/test_phystokens.py
parent14b76135d39bbb11e42a49565396b13d020dd87a (diff)
downloadpython-coveragepy-git-957e6a6f17a9eb8eea51be972052fcd98ff7a2fd.tar.gz
Adjust other env.PYPY tests to the latest way
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.")