Skip to content

Commit 30307a6

Browse files
author
Rajeev Jain
committed
o Add assert and check warnings
1 parent bcf14a1 commit 30307a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_io_common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def test_ugrid_compliance(self, grid_from_format):
104104
assert 'n_face' in grid.dims
105105

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

109110
# Check UGRID compliance
110111
# 1. Connectivity should use proper fill values

0 commit comments

Comments
 (0)