We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13344cd commit 2504d6bCopy full SHA for 2504d6b
tests/test_exporters.py
@@ -415,11 +415,14 @@ def test_spline(self):
415
)
416
417
self.assertEqual(expected_type, result_type)
418
- self.assertAlmostEqual(
+
419
+ for expected, result in zip(
420
expected_attributes["control_points"], result_attributes["control_points"]
- )
421
+ ):
422
+ assert result == approx(expected)
423
424
self.assertEqual(expected_attributes["order"], result_attributes["order"])
- self.assertEqual(expected_attributes["knots"], result_attributes["knots"])
425
+ assert result_attributes["knots"] == approx(expected_attributes["knots"])
426
self.assertEqual(expected_attributes["weights"], result_attributes["weights"])
427
428
def test_add_layer_definition(self):
0 commit comments