Skip to content

Commit

Permalink
refactor: remove unneeded skip decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Oct 3, 2024
1 parent e3c820a commit b2e9734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`_.
Expand Down
8 changes: 0 additions & 8 deletions tests/test_lcov.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import coverage

from tests.coveragetest import CoverageTest
from tests.helpers import xfail_all_pypy38


class LcovTest(CoverageTest):
Expand Down Expand Up @@ -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", """\
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit b2e9734

Please sign in to comment.