summaryrefslogtreecommitdiff
path: root/tests/test_phystokens.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-05-01 19:25:14 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-05-02 07:38:20 -0400
commitc6ba56c68b2a3850f530cc1fdbf9856a90559a1f (patch)
tree4b2fd9dd4139a5d9ed233ca2da8f1c4952103b39 /tests/test_phystokens.py
parentd2dad79e0d0611eb519995bd8696f1ada2bcd2cd (diff)
downloadpython-coveragepy-git-c6ba56c68b2a3850f530cc1fdbf9856a90559a1f.tar.gz
refactor: remove a few more version checks
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'