diff options
Diffstat (limited to 'tests/coveragetest.py')
-rw-r--r-- | tests/coveragetest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py index 1917c5b3..905d6098 100644 --- a/tests/coveragetest.py +++ b/tests/coveragetest.py @@ -26,7 +26,7 @@ from coverage import env from coverage.backunittest import TestCase, unittest from coverage.backward import StringIO, import_local_file, string_class, shlex_quote from coverage.cmdline import CoverageScript -from coverage.misc import arcz_to_arcs, StopEverything +from coverage.misc import arcs_to_arcz_repr, arcz_to_arcs, StopEverything from tests.helpers import run_command, SuperModuleCleaner @@ -140,8 +140,8 @@ class CoverageTest( def assert_equal_arcs(self, a1, a2, msg=None): """Assert that the arc lists `a1` and `a2` are equal.""" # Make them into multi-line strings so we can see what's going wrong. - s1 = "\n".join(repr(a) for a in a1) + "\n" - s2 = "\n".join(repr(a) for a in a2) + "\n" + s1 = arcs_to_arcz_repr(a1) + s2 = arcs_to_arcz_repr(a2) self.assertMultiLineEqual(s1, s2, msg) def check_coverage( |