[skip ci] pathlib instead of os

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Rémi Delaporte-Mathurin 2022-06-29 14:22:01 +02:00 committed by GitHub
parent 7e074fe354
commit aeeb078344
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ spherical_mesh.theta_grid = np.linspace(0, np.pi / 2, num=30)
@pytest.mark.parametrize("mesh", [cylinder_mesh, regular_mesh, rectilinear_mesh, spherical_mesh])
def test_write_data_to_vtk(mesh, tmpdir):
# BUILD
filename = tmpdir / "out.vtk"
filename = Path(tmpdir) / "out.vtk"
data = np.random.random(mesh.num_mesh_cells)