summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-05-30 21:35:14 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-05-30 21:35:14 -0400
commit47d82293ac848cc71139d5601dba87818f6d829c (patch)
treeff35d76c01c50e33369520bfb25cddd929ec7f45 /tests/test_process.py
parent30c023b5b74f9c798645cbb3f35362ae046a4c25 (diff)
downloadpython-coveragepy-git-47d82293ac848cc71139d5601dba87818f6d829c.tar.gz
build: mark a few lines as not covered
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 54bf345d..9c695b2a 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -1404,7 +1404,7 @@ def find_writable_pth_directory():
with open(try_it, "w") as f:
try:
f.write("foo")
- except OSError: # pragma: cant happen
+ except OSError: # pragma: cant happen
continue
os.remove(try_it)
@@ -1422,7 +1422,7 @@ def persistent_remove(path):
while tries: # pragma: part covered
try:
os.remove(path)
- except OSError:
+ except OSError: # pragma: not covered
tries -= 1
time.sleep(.05)
else: