Browse code

Update test_triangulation.py

pyupgrade fix.

philippeitis authored on 16/12/2019 08:39:21 • Joseph Weston committed on 05/05/2020 19:10:25
Showing 1 changed files
... ...
@@ -93,7 +93,7 @@ def test_circumsphere():
93 93
                 ",".join([str(x) for x in center]),
94 94
             )
95 95
         if not allclose(radius, circ_radius):
96
-            err_msg += "Calculated radius %s differs from true radius %s" % (
96
+            err_msg += "Calculated radius {} differs from true radius {}".format(
97 97
                 circ_radius,
98 98
                 radius,
99 99
             )