summaryrefslogtreecommitdiff
path: root/tests/test_execfile.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-09-28 19:44:20 -0400
committerNed Batchelder <ned@nedbatchelder.com>2014-09-28 19:44:20 -0400
commit9453fa062539ac28b60c325e39c0fcbfd3b2ea10 (patch)
treebe81d9b59be8c0c9a3b4a4ae59c047df2d332d8b /tests/test_execfile.py
parentf8455cc745ccbde7ee1cc13bd302a7bdc3369d6c (diff)
downloadpython-coveragepy-git-9453fa062539ac28b60c325e39c0fcbfd3b2ea10.tar.gz
Pragmas for uncovered code
Diffstat (limited to 'tests/test_execfile.py')
-rw-r--r--tests/test_execfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_execfile.py b/tests/test_execfile.py
index 69616e84..3a92ff76 100644
--- a/tests/test_execfile.py
+++ b/tests/test_execfile.py
@@ -91,9 +91,9 @@ class RunPycFileTest(CoverageTest):
os.remove("compiled.py")
# Find the .pyc file!
- for there, _, files in os.walk("."):
+ for there, _, files in os.walk("."): # pragma: part covered
for f in files:
- if f.endswith(".pyc"):
+ if f.endswith(".pyc"): # pragma: part covered
return os.path.join(there, f)
def test_running_pyc(self):