diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-06-12 09:25:44 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-06-12 09:25:44 -0400 |
commit | c525acb8599ac107d24bb9e20b1bcdf12b4f76b6 (patch) | |
tree | d04874ee2731e49d8a67fe83173df3784b2915cd /tests/test_phystokens.py | |
parent | d6ff4b377fb6bc615e941988fbcaae71b9123edf (diff) | |
download | python-coveragepy-git-c525acb8599ac107d24bb9e20b1bcdf12b4f76b6.tar.gz |
Use standard skipTest, which unittest-mixins will override.
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 0bbf8ea2..ccbe01b0 100644 --- a/tests/test_phystokens.py +++ b/tests/test_phystokens.py @@ -123,7 +123,7 @@ class SourceEncodingTest(CoverageTest): if env.PYPY and env.PY3: # PyPy3 gets this case wrong. Not sure what I can do about it, # so skip the test. - self.skip("PyPy3 is wrong about non-comment encoding. Skip it.") + self.skipTest("PyPy3 is wrong about non-comment encoding. Skip it.") # Should not detect anything here source = b'def parse(src, encoding=None):\n pass' self.assertEqual(source_encoding(source), DEF_ENCODING) |