diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-28 19:44:20 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-28 19:44:20 -0400 |
commit | 9453fa062539ac28b60c325e39c0fcbfd3b2ea10 (patch) | |
tree | be81d9b59be8c0c9a3b4a4ae59c047df2d332d8b /tests/test_testing.py | |
parent | f8455cc745ccbde7ee1cc13bd302a7bdc3369d6c (diff) | |
download | python-coveragepy-git-9453fa062539ac28b60c325e39c0fcbfd3b2ea10.tar.gz |
Pragmas for uncovered code
Diffstat (limited to 'tests/test_testing.py')
-rw-r--r-- | tests/test_testing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_testing.py b/tests/test_testing.py index 4a19098f..05db7298 100644 --- a/tests/test_testing.py +++ b/tests/test_testing.py @@ -114,7 +114,7 @@ def same_python_executable(e1, e2): e2 = os.path.abspath(os.path.realpath(e2)) if os.path.dirname(e1) != os.path.dirname(e2): - return False + return False # pragma: only failure e1 = os.path.basename(e1) e2 = os.path.basename(e2) @@ -126,4 +126,4 @@ def same_python_executable(e1, e2): # python2.3 and python2.3: ok return True - return False + return False # pragma: only failure |