adjust to new auto-convert of 1-based geom files

This commit is contained in:
Martin Diehl 2020-11-19 11:34:55 +01:00
parent 96826dca73
commit af3a87b197
1 changed files with 2 additions and 2 deletions

View File

@ -73,8 +73,8 @@ class TestGeom:
size=np.ones(2))
def test_save_load_ASCII(self,default,tmp_path):
default.save_ASCII(tmp_path/'ASCII')
assert geom_equal(Geom.load_ASCII(tmp_path/'ASCII'),default)
default.renumber().save_ASCII(tmp_path/'ASCII')
assert geom_equal(Geom.load_ASCII(tmp_path/'ASCII'),default.renumber())
def test_invalid_origin(self,default):
with pytest.raises(ValueError):