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 | 917c250a9afb2d9d7675131974ff3dbec5bf355e (patch) | |
tree | 1f5413fdf8f72c6a077dea337b21ae8291274777 /tests/test_process.py | |
parent | 728196ff86a5d616fe26038c5932fd35de89f9ad (diff) | |
download | python-coveragepy-917c250a9afb2d9d7675131974ff3dbec5bf355e.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 85adcf4..2cabe0b 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()) |