Skip to content

Commit 2629c02

Browse files
author
Emmanouil Konstantinidis
committed
Ignore __init__ in coverage
1 parent 1d6cfda commit 2629c02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def run_tests_coverage():
3131
test_runner = TestRunner()
3232

3333
# Setup Coverage
34-
cov = coverage(source=["rest_framework_docs"], omit=["__init__.py"])
34+
cov = coverage(source=["rest_framework_docs"], omit=["rest_framework_docs/__init__.py"])
3535
cov.start()
3636

3737
failures = test_runner.run_tests(["tests"])

0 commit comments

Comments
 (0)