diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-05-01 19:25:14 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-05-02 07:38:20 -0400 |
commit | c6ba56c68b2a3850f530cc1fdbf9856a90559a1f (patch) | |
tree | 4b2fd9dd4139a5d9ed233ca2da8f1c4952103b39 /tests/test_phystokens.py | |
parent | d2dad79e0d0611eb519995bd8696f1ada2bcd2cd (diff) | |
download | python-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.py | 2 |
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' |