Commit fc364374 authored by Claude Paroz's avatar Claude Paroz
Browse files

Added assertion error message for test_make_line

Refs #23842. Thanks Thomas Chaumeny for the suggestion.
parent 684b2077
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -629,7 +629,9 @@ class GeoQuerySetTest(TestCase):
        )
        # We check for equality with a tolerance of 10e-5 which is a lower bound
        # of the precisions of ref_line coordinates
        self.assertTrue(ref_line.equals_exact(City.objects.make_line(), tolerance=10e-5))
        line = City.objects.make_line()
        self.assertTrue(ref_line.equals_exact(line, tolerance=10e-5),
            "%s != %s" % (ref_line, line))

    @skipUnlessDBFeature("has_num_geom_method")
    def test_num_geom(self):