Skip to content

Commit 24666b3

Browse files
committed
Try to fix vertex test
1 parent 9ebc6a2 commit 24666b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/tests/tinyobjloader_tests/test_loader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def test_numpy_vertex_array_two_quads():
168168
82.834091,
169169
8.953863,
170170
]
171-
assert loader.attrib.vertices == expected_vertices
171+
np.testing.assert_array_almost_equal(loader.attrib.vertices, expected_vertices, decimal=6)
172172

173173
# Test.
174-
np.testing.assert_array_almost_equal(loader.attrib.numpy_vertices(), expected_vertices, decimal=5)
174+
np.testing.assert_array_almost_equal(loader.attrib.numpy_vertices(), expected_vertices, decimal=6)

0 commit comments

Comments
 (0)