From 44a21889e3090aa84748076c378ded2a649fa124 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 7 Feb 2015 10:14:28 -0500 Subject: Fix a method name to be snake_case. --- tests/coveragetest.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/coveragetest.py b/tests/coveragetest.py index 853fcb9..23de2ec 100644 --- a/tests/coveragetest.py +++ b/tests/coveragetest.py @@ -125,7 +125,7 @@ class CoverageTest( arcs.append((asgn*self._arcz_map[a], bsgn*self._arcz_map[b])) return sorted(arcs) - def assertEqualArcs(self, a1, a2, msg=None): + def assert_equal_args(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" @@ -208,18 +208,18 @@ class CoverageTest( ) if arcs is not None: - self.assertEqualArcs( + self.assert_equal_args( analysis.arc_possibilities(), arcs, "Possible arcs differ" ) if arcs_missing is not None: - self.assertEqualArcs( + self.assert_equal_args( analysis.arcs_missing(), arcs_missing, "Missing arcs differ" ) if arcs_unpredicted is not None: - self.assertEqualArcs( + self.assert_equal_args( analysis.arcs_unpredicted(), arcs_unpredicted, "Unpredicted arcs differ" ) -- cgit v1.2.1