summaryrefslogtreecommitdiff
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-02-21 22:15:01 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-02-21 22:15:01 -0500
commitcc5d85741ab33a84adb33400ecfcccd70e449a4a (patch)
tree250fc4c552c4da252d5de33f0300d7a226a2f6b5 /tests/helpers.py
parent72baa75af0db9455ae981731897957872c8cc6bb (diff)
downloadpython-coveragepy-git-cc5d85741ab33a84adb33400ecfcccd70e449a4a.tar.gz
refactor: slightly better coverage in coveragetest
Diffstat (limited to 'tests/helpers.py')
-rw-r--r--tests/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers.py b/tests/helpers.py
index 1348aad6..a96b793e 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -198,7 +198,7 @@ def arcs_to_arcz_repr(arcs):
"""
repr_list = []
- for a, b in arcs:
+ for a, b in (arcs or ()):
line = repr((a, b))
line += " # "
line += _arcs_to_arcz_repr_one(a)