diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-08-09 08:29:07 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-08-09 08:29:07 -0400 |
commit | 5a4f125853b5056f98d80162687b6d1eace38ea1 (patch) | |
tree | 7dbdddfdcba3bb1fc92b224508c81f0980d45411 /tests/test_api.py | |
parent | e743508d488316e75d170caa59b880a7a5429c02 (diff) | |
download | python-coveragepy-git-5a4f125853b5056f98d80162687b6d1eace38ea1.tar.gz |
test: exclude one last line in test_api.py
Diffstat (limited to 'tests/test_api.py')
-rw-r--r-- | tests/test_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_api.py b/tests/test_api.py index 5f7b3522..401949b6 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -266,7 +266,7 @@ class ApiTest(CoverageTest): def test_datafile_none(self): cov = coverage.Coverage(data_file=None) - def f1(): + def f1(): # pragma: nested a = 1 # pylint: disable=unused-variable one_line_number = f1.__code__.co_firstlineno + 1 |