Skip to content

Commit 8fbe592

Browse files
author
Rajeev Jain
committed
test(io): align validate() assertion style with other tests (simple assert)
1 parent 30307a6 commit 8fbe592

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_io_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from pathlib import Path
1111
import tempfile
1212
import os
13+
import warnings
1314
from numpy.testing import assert_array_equal, assert_allclose
1415
from uxarray.constants import ERROR_TOLERANCE, INT_DTYPE, INT_FILL_VALUE
1516

@@ -104,8 +105,7 @@ def test_ugrid_compliance(self, grid_from_format):
104105
assert 'n_face' in grid.dims
105106

106107
# Validate grid structure
107-
with pytest.warns(None):
108-
assert grid.validate() is True
108+
assert grid.validate()
109109

110110
# Check UGRID compliance
111111
# 1. Connectivity should use proper fill values

0 commit comments

Comments
 (0)