Skip to content

Commit

Permalink
test: fix a few metacov exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Feb 28, 2021
1 parent fd78a6d commit b12f189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coverage/backward.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

try:
import reprlib
except ImportError: # pragma: part covered
except ImportError: # pragma: not covered
# We need this on Python 2, but in testing environments, a backport is
# installed, so this import isn't used.
import repr as reprlib
Expand Down
2 changes: 1 addition & 1 deletion metacov.ini
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ exclude_lines =
# Lines that we can't run during metacov.
pragma: no metacov
pytest.mark.skipif\(env.METACOV
if not env.METACOV:

# These lines only happen if tests fail.
raise AssertionError
Expand All @@ -74,7 +75,6 @@ partial_branches =
pragma: if failure
pragma: part started
if env.TESTING:
if not env.METACOV
if .* env.JYTHON
if .* env.IRONPYTHON

Expand Down

0 comments on commit b12f189

Please sign in to comment.