From ce956f851546536711b6dbd44cc791ab5f72f605 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Fri, 23 Dec 2022 14:34:17 -0600 Subject: [PATCH] Run ww unit test in tmp dir --- tests/unit_tests/weightwindows/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/weightwindows/test.py b/tests/unit_tests/weightwindows/test.py index d73a52f458..1dfad56aaa 100644 --- a/tests/unit_tests/weightwindows/test.py +++ b/tests/unit_tests/weightwindows/test.py @@ -225,7 +225,7 @@ def test_lower_ww_bounds_shape(): assert ww.lower_ww_bounds.shape == (2, 3, 4, 1) -def test_roundtrip(model, wws): +def test_roundtrip(run_in_tmpdir, model, wws): model.settings.weight_windows = wws # write the model with weight windows to XML