adjust to new auto-convert of 1-based geom files
This commit is contained in:
parent
96826dca73
commit
af3a87b197
|
@ -73,8 +73,8 @@ class TestGeom:
|
||||||
size=np.ones(2))
|
size=np.ones(2))
|
||||||
|
|
||||||
def test_save_load_ASCII(self,default,tmp_path):
|
def test_save_load_ASCII(self,default,tmp_path):
|
||||||
default.save_ASCII(tmp_path/'ASCII')
|
default.renumber().save_ASCII(tmp_path/'ASCII')
|
||||||
assert geom_equal(Geom.load_ASCII(tmp_path/'ASCII'),default)
|
assert geom_equal(Geom.load_ASCII(tmp_path/'ASCII'),default.renumber())
|
||||||
|
|
||||||
def test_invalid_origin(self,default):
|
def test_invalid_origin(self,default):
|
||||||
with pytest.raises(ValueError):
|
with pytest.raises(ValueError):
|
||||||
|
|
Loading…
Reference in New Issue