tests: Exclude lines from coverage

Exclude things like "raise NotImplementedError" and compiler bug
handlers.
This commit is contained in:
James Westman 2022-01-13 00:02:41 -06:00
parent 85150d397b
commit 1897478480
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
4 changed files with 15 additions and 12 deletions

6
.coveragerc Normal file
View file

@ -0,0 +1,6 @@
[report]
exclude_lines =
pragma: no cover
raise AssertionError
raise NotImplementedError
raise CompilerBugError