diff options
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r-- | tests/test_arcs.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index c1fd35b6..de59bf21 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -143,10 +143,17 @@ class SimpleArcTest(CoverageTest): ) def test_what_is_the_sound_of_no_lines_clapping(self): + if env.JYTHON: + # Jython reports no lines for an empty file. + arcz_missing=".1 1." # pragma: only jython + else: + # Other Pythons report one line. + arcz_missing="" self.check_coverage("""\ # __init__.py """, arcz=".1 1.", + arcz_missing=arcz_missing, ) |