summaryrefslogtreecommitdiff
path: root/tests/test_arcs.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-05-01 14:19:24 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-05-01 16:24:37 -0400
commit3d43c74cd2dd8c66c29572bc04a4b0de3e206364 (patch)
tree282d10151f6ba009fdd8d8a1d8713a0fc5441026 /tests/test_arcs.py
parent7db98362f368ac569edf66228d52cbc64a6d69aa (diff)
downloadpython-coveragepy-git-3d43c74cd2dd8c66c29572bc04a4b0de3e206364.tar.gz
refactor: remove some unneeded behavior conditionals
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r--tests/test_arcs.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index 3f634a85..8bf83008 100644
--- a/tests/test_arcs.py
+++ b/tests/test_arcs.py
@@ -1072,9 +1072,6 @@ class YieldTest(CoverageTest):
)
assert self.stdout() == "20\n12\n"
- @pytest.mark.skipif(not env.PYBEHAVIOR.yield_from,
- reason="Python before 3.3 doesn't have 'yield from'"
- )
def test_yield_from(self):
self.check_coverage("""\
def gen(inp):
@@ -1320,9 +1317,6 @@ class MiscArcTest(CoverageTest):
arcz=".1 19 9.",
)
- @pytest.mark.skipif(not env.PYBEHAVIOR.unpackings_pep448,
- reason="Don't have unpacked literals until 3.5"
- )
def test_unpacked_literals(self):
self.check_coverage("""\
d = {
@@ -1570,7 +1564,6 @@ class LambdaArcTest(CoverageTest):
)
-@pytest.mark.skipif(not env.PYBEHAVIOR.async_syntax, reason="Async features are new in Python 3.5")
class AsyncTest(CoverageTest):
"""Tests of the new async and await keywords in Python 3.5"""