summaryrefslogtreecommitdiff
path: root/tests/test_arcs.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-11-27 08:17:17 -0500
committerNed Batchelder <ned@nedbatchelder.com>2014-11-27 08:17:17 -0500
commit00506792848ee83de65b1740b3d82229ca55817a (patch)
tree5d8c451f185934fb644eec50ae96177fade5b671 /tests/test_arcs.py
parent4b86461bc103745886acd362ebe8db6667e0a67e (diff)
downloadpython-coveragepy-00506792848ee83de65b1740b3d82229ca55817a.tar.gz
Accept more kinds of whitespace in pragmas. #334
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r--tests/test_arcs.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index 80923f8..3856a2c 100644
--- a/tests/test_arcs.py
+++ b/tests/test_arcs.py
@@ -587,9 +587,11 @@ class ExcludeTest(CoverageTest):
if c: # pragma NOBRANCH
d = 6
e = 7
+ if e:#\tpragma:\tno branch
+ f = 9
""",
- [1,2,3,4,5,6,7],
- arcz=".1 12 23 24 34 45 56 57 67 7.", arcz_missing="")
+ [1,2,3,4,5,6,7,8,9],
+ arcz=".1 12 23 24 34 45 56 57 67 78 89 9. 8.", arcz_missing="")
def test_custom_pragmas(self):
self.check_coverage("""\