summaryrefslogtreecommitdiff
path: root/tests/test_arcs.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-01-06 07:11:32 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-01-06 07:11:32 -0500
commit8f9b4f9d596ef4a5c0d26b4e54acfcd0558ece39 (patch)
tree3aeea54a9baa6dc5a0104833ca5261de4530c8eb /tests/test_arcs.py
parente0cc720dad16bed5673a1e7d11ccdceeab200fc3 (diff)
downloadpython-coveragepy-git-8f9b4f9d596ef4a5c0d26b4e54acfcd0558ece39.tar.gz
Add some tests for uncovered cases
--HG-- branch : ast-branch
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r--tests/test_arcs.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index 9af4a083..60fdea37 100644
--- a/tests/test_arcs.py
+++ b/tests/test_arcs.py
@@ -151,6 +151,13 @@ class SimpleArcTest(CoverageTest):
arcz=".1 12 .2 2-2 23 3.", arcz_missing=".2 2-2",
)
+ def test_what_is_the_sound_of_no_lines_clapping(self):
+ self.check_coverage("""\
+ # __init__.py
+ """,
+ arcz=".1 1.",
+ )
+
class WithTest(CoverageTest):
"""Arc-measuring tests involving context managers."""