Skip to content

Commit

Permalink
Exclude test code from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknyquist committed Oct 13, 2023
1 parent 3617509 commit acd4634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


def main():
cov = Coverage()
cov = Coverage(omit="tests/*")
cov.start()

suite = unittest.TestLoader().discover("tests")
Expand Down

0 comments on commit acd4634

Please sign in to comment.