Skip to content

Commit

Permalink
Exclude the function that should never be called from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
DRMacIver committed Jul 3, 2019
1 parent 59191d5 commit 0d738f3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -103,7 +103,7 @@ def defines_shrink_pass(generate_arguments):
def accept(run_step):
ShrinkPassDefinition(generate_arguments=generate_arguments, run_step=run_step)

def run(self):
def run(self): # pragma: no cover
assert False, "Shrink passes should not be run directly"

run.__name__ = run_step.__name__
Expand Down

0 comments on commit 0d738f3

Please sign in to comment.