Skip to content

Commit

Permalink
test: 'assert any(' has to be partial
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Dec 24, 2022
1 parent 8854164 commit d6072b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions metacov.ini
Expand Up @@ -79,6 +79,8 @@ partial_branches =
# A for-loop that always hits its break statement
pragma: always breaks
pragma: part started
# If we're asserting that any() is true, it didn't finish.
assert any\(
if env.TESTING:
if env.METACOV:
if .* env.JYTHON
Expand Down

0 comments on commit d6072b8

Please sign in to comment.