From 320dd072a370ac962c72dfb6422a34ac6e493911 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 25 Jan 2020 11:12:35 -0500 Subject: Remove a temporary xfail for 3.9a2 --- tests/test_arcs.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'tests/test_arcs.py') diff --git a/tests/test_arcs.py b/tests/test_arcs.py index e3278303..bf17f712 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -3,7 +3,7 @@ """Tests for coverage.py's arc measurement.""" -from tests.coveragetest import CoverageTest, xfail +from tests.coveragetest import CoverageTest import coverage from coverage import env @@ -629,7 +629,6 @@ class ExceptionArcTest(CoverageTest): ) - @xfail(env.PYBEHAVIOR.bpo39114, reason="https://bugs.python.org/issue39114") def test_break_through_finally(self): if env.PYBEHAVIOR.finally_jumps_back: arcz = ".1 12 23 34 3D 45 56 67 68 7A 7D 8A A3 A7 BC CD D." @@ -654,7 +653,6 @@ class ExceptionArcTest(CoverageTest): arcz_missing="3D BC CD", ) - @xfail(env.PYBEHAVIOR.bpo39114, "https://bugs.python.org/issue39114") def test_continue_through_finally(self): if env.PYBEHAVIOR.finally_jumps_back: arcz = ".1 12 23 34 3D 45 56 67 68 73 7A 8A A3 A7 BC CD D." @@ -692,7 +690,6 @@ class ExceptionArcTest(CoverageTest): arcz=".1 12 23 35 56 61 17 7.", ) - @xfail(env.PYBEHAVIOR.bpo39114, "https://bugs.python.org/issue39114") def test_bug_212(self): # "except Exception as e" is crucial here. # Bug 212 said that the "if exc" line was incorrectly marked as only @@ -815,7 +812,6 @@ class ExceptionArcTest(CoverageTest): arcz_unpredicted="45 7A AB", ) - @xfail(env.PYBEHAVIOR.bpo39114, "https://bugs.python.org/issue39114") def test_return_finally(self): if env.PYBEHAVIOR.finally_jumps_back: arcz = ".1 12 29 9A AB BC C-1 -23 34 45 5-2 57 75 38 8-2" @@ -838,7 +834,6 @@ class ExceptionArcTest(CoverageTest): arcz=arcz, ) - @xfail(env.PYBEHAVIOR.bpo39114, "https://bugs.python.org/issue39114") def test_except_jump_finally(self): if env.PYBEHAVIOR.finally_jumps_back: arcz = ( @@ -893,7 +888,6 @@ class ExceptionArcTest(CoverageTest): arcz_unpredicted="67", ) - @xfail(env.PYBEHAVIOR.bpo39114, "https://bugs.python.org/issue39114") def test_else_jump_finally(self): if env.PYBEHAVIOR.finally_jumps_back: arcz = ( @@ -1516,7 +1510,6 @@ class AsyncTest(CoverageTest): ) self.assertEqual(self.stdout(), "Compute 1 + 2 ...\n1 + 2 = 3\n") - @xfail(env.PYVERSION == (3, 9, 0, 'alpha', 2, 0), "https://bugs.python.org/issue39166") def test_async_for(self): self.check_coverage("""\ import asyncio -- cgit v1.2.1