diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-02-21 22:15:01 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-02-21 22:15:01 -0500 |
commit | cc5d85741ab33a84adb33400ecfcccd70e449a4a (patch) | |
tree | 250fc4c552c4da252d5de33f0300d7a226a2f6b5 /tests/helpers.py | |
parent | 72baa75af0db9455ae981731897957872c8cc6bb (diff) | |
download | python-coveragepy-git-cc5d85741ab33a84adb33400ecfcccd70e449a4a.tar.gz |
refactor: slightly better coverage in coveragetest
Diffstat (limited to 'tests/helpers.py')
-rw-r--r-- | tests/helpers.py | 2 |
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) |