mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
[skip ci] is_file() instead of exists()
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
aeeb078344
commit
f99e93b583
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ def test_write_data_to_vtk(mesh, tmpdir):
|
|||
mesh.write_data_to_vtk(filename=filename, datasets={"label1": data, "label2": data})
|
||||
|
||||
# TEST
|
||||
assert exists(filename)
|
||||
assert filename.is_file()
|
||||
|
||||
# read file
|
||||
reader = vtk.vtkStructuredGridReader()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue