From 68fc9ddc03fc087fcf963afa0692550c4db3a81a Mon Sep 17 00:00:00 2001 From: J Dark Date: Wed, 25 Oct 2023 10:32:51 -0400 Subject: [PATCH] dont use tmppath in benchmark case --- test/test_permeation_problem.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/test_permeation_problem.py b/test/test_permeation_problem.py index 3244edb9e..55e532fd2 100644 --- a/test/test_permeation_problem.py +++ b/test/test_permeation_problem.py @@ -6,7 +6,7 @@ import os -def test_permeation_problem(tmp_path, mesh_size=1001): +def test_permeation_problem(mesh_size=1001): L = 3e-04 vertices = np.linspace(0, L, num=mesh_size) @@ -32,11 +32,7 @@ def test_permeation_problem(tmp_path, mesh_size=1001): subdomain=left_surface, S_0=4.02e21, E_S=1.04, pressure=100, species="H" ), ] - my_model.exports = [ - F.XDMFExport( - os.path.join(tmp_path, "mobile_concentration_H.xdmf"), field=mobile_H - ) - ] + my_model.exports = [F.XDMFExport("mobile_concentration.xdmf", field=mobile_H)] my_model.settings = F.Settings( atol=1e10,