diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-05-05 08:49:01 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-05-05 08:49:01 -0400 |
commit | 692987a02adfaa7e05086c1d4c89228d0525bc2e (patch) | |
tree | c03a2d9a28ea2b3cbba0ceba3c44db2da0821868 /tests | |
parent | 2a35bb182114a4ea47780cd0dc6fa08735e5fbaa (diff) | |
download | python-coveragepy-git-692987a02adfaa7e05086c1d4c89228d0525bc2e.tar.gz |
No more support for 2.6 or 3.3
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_arcs.py | 4 | ||||
-rw-r--r-- | tests/test_parser.py | 4 | ||||
-rw-r--r-- | tests/test_process.py | 8 |
3 files changed, 0 insertions, 16 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index ef71ea16..4bd804ba 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -407,8 +407,6 @@ class LoopArcTest(CoverageTest): ) def test_other_comprehensions(self): - if env.PYVERSION < (2, 7): - self.skipTest("No set or dict comprehensions before 2.7") # Set comprehension: self.check_coverage("""\ o = ((1,2), (3,4)) @@ -431,8 +429,6 @@ class LoopArcTest(CoverageTest): ) def test_multiline_dict_comp(self): - if env.PYVERSION < (2, 7): - self.skipTest("No set or dict comprehensions before 2.7") if env.PYVERSION < (3, 5): arcz = "-42 2B B-4 2-4" else: diff --git a/tests/test_parser.py b/tests/test_parser.py index afb87716..89ef6dc4 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -260,10 +260,6 @@ class ParserMissingArcDescriptionTest(CoverageTest): ) def test_missing_arc_descriptions_for_small_callables(self): - # We use 2.7 features here, so just skip this test on 2.6 - if env.PYVERSION < (2, 7): - self.skipTest("No dict or set comps in 2.6") - parser = self.parse_text(u"""\ callables = [ lambda: 2, diff --git a/tests/test_process.py b/tests/test_process.py index fb08562f..f0b1cde1 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -727,10 +727,6 @@ class ProcessTest(CoverageTest): ) def test_module_name(self): - if sys.version_info < (2, 7): - # Python 2.6 thinks that coverage is a package that can't be - # executed - self.skipTest("-m doesn't work the same < Python 2.7") # https://bitbucket.org/ned/coveragepy/issues/478/help-shows-silly-program-name-when-running out = self.run_command("python -m coverage") self.assertIn("Use 'coverage help' for help", out) @@ -852,10 +848,6 @@ class EnvironmentTest(CoverageTest): self.assert_tryexecfile_output(out_cov, out_py) def test_coverage_run_dashm_is_like_python_dashm_with__main__207(self): - if sys.version_info < (2, 7): - # Coverage.py isn't bug-for-bug compatible in the behavior - # of -m for Pythons < 2.7 - self.skipTest("-m doesn't work the same < Python 2.7") # https://bitbucket.org/ned/coveragepy/issue/207 self.make_file("package/__init__.py", "print('init')") self.make_file("package/__main__.py", "print('main')") |