diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-02-22 06:38:12 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-02-22 06:38:12 -0500 |
commit | edf8ff449138ce039e2a1445cab89b53d2333aa3 (patch) | |
tree | a0eeb1c10c15afe5b113fa2113d8835a120d4a97 /tests/test_process.py | |
parent | 23963b47d4774546e28be0eafdd191f753e0866f (diff) | |
download | python-coveragepy-git-edf8ff449138ce039e2a1445cab89b53d2333aa3.tar.gz |
More pragmas to fine-tune coverage of test code
Diffstat (limited to 'tests/test_process.py')
-rw-r--r-- | tests/test_process.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index 85adcf47..2cabe0b9 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -610,7 +610,7 @@ class ProcessTest(CoverageTest): self.assertIn(msg, out) def test_note(self): - if env.PYPY and env.PY3 and env.PYPYVERSION[:3] == (5, 10, 0): + if env.PYPY and env.PY3 and env.PYPYVERSION[:3] == (5, 10, 0): # pragma: obscure # https://bitbucket.org/pypy/pypy/issues/2729/pypy3-510-incorrectly-decodes-astral-plane self.skipTest("Avoid incorrect decoding astral plane JSON chars") self.make_file(".coveragerc", """\ @@ -767,7 +767,7 @@ class EnvironmentTest(CoverageTest): self.assert_tryexecfile_output(out_cov, out_py) def test_coverage_run_dir_is_like_python_dir(self): - if sys.version_info == (3, 5, 4, 'final', 0): # pragma: not covered + if sys.version_info == (3, 5, 4, 'final', 0): # pragma: obscure self.skipTest("3.5.4 broke this: https://bugs.python.org/issue32551") with open(TRY_EXECFILE) as f: self.make_file("with_main/__main__.py", f.read()) |