diff --git a/CHANGES.rst b/CHANGES.rst index 9cb6174b1..b717b666f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -23,6 +23,8 @@ upgrading your version of coverage.py. Unreleased ---------- +- Dropped support for Python 3.8 and PyPy 3.8. + - Fix: a final wildcard match/case clause assigning to a name (``case _ as value``) was incorrectly marked as a missing branch. This is now fixed, closing `issue 1860`_. diff --git a/tests/test_lcov.py b/tests/test_lcov.py index 964b315a7..e2c340f13 100644 --- a/tests/test_lcov.py +++ b/tests/test_lcov.py @@ -11,7 +11,6 @@ import coverage from tests.coveragetest import CoverageTest -from tests.helpers import xfail_all_pypy38 class LcovTest(CoverageTest): @@ -160,7 +159,6 @@ def test_simple_line_coverage_two_files(self) -> None: actual_result = self.get_lcov_report_content(filename="data.lcov") assert expected_result == actual_result - @xfail_all_pypy38 def test_branch_coverage_one_file(self) -> None: # Test that the reporter produces valid branch coverage. self.make_file("main_file.py", """\ @@ -197,7 +195,6 @@ def is_it_x(x): actual_result = self.get_lcov_report_content() assert expected_result == actual_result - @xfail_all_pypy38 def test_branch_coverage_two_files(self) -> None: # Test that valid branch coverage is generated # in the case of two files. @@ -361,7 +358,6 @@ def test_excluded_lines(self) -> None: actual_result = self.get_lcov_report_content() assert expected_result == actual_result - @xfail_all_pypy38 def test_exit_branches(self) -> None: self.make_file("runme.py", """\ def foo(a): @@ -399,7 +395,6 @@ def foo(a): actual_result = self.get_lcov_report_content() assert expected_result == actual_result - @xfail_all_pypy38 def test_genexpr_exit_arcs_pruned_full_coverage(self) -> None: self.make_file("runme.py", """\ def foo(a): @@ -437,7 +432,6 @@ def foo(a): actual_result = self.get_lcov_report_content() assert expected_result == actual_result - @xfail_all_pypy38 def test_genexpr_exit_arcs_pruned_never_true(self) -> None: self.make_file("runme.py", """\ def foo(a): @@ -471,7 +465,6 @@ def foo(a): actual_result = self.get_lcov_report_content() assert expected_result == actual_result - @xfail_all_pypy38 def test_genexpr_exit_arcs_pruned_always_true(self) -> None: self.make_file("runme.py", """\ def foo(a): @@ -505,7 +498,6 @@ def foo(a): actual_result = self.get_lcov_report_content() assert expected_result == actual_result - @xfail_all_pypy38 def test_genexpr_exit_arcs_pruned_not_reached(self) -> None: self.make_file("runme.py", """\ def foo(a):