summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_arcs.py4
-rw-r--r--tests/test_parser.py4
-rw-r--r--tests/test_process.py8
3 files changed, 0 insertions, 16 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index ef71ea1..4bd804b 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 afb8771..89ef6dc 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 fb08562..f0b1cde 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')")