From dc7593bf2461a7413cf0ac8622c66be39a50989d Mon Sep 17 00:00:00 2001 From: Rory Conlin Date: Fri, 15 Mar 2024 15:01:48 -0400 Subject: [PATCH] Update warning regex --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index ae380d605b..e000574706 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -212,7 +212,7 @@ def HELIOTRON_vac(tmpdir_factory): print("cwd=", cwd) args = ["-o", str(desc_h5_path), input_filename, "-vv"] - with pytest.warns(UserWarning, match="Vacuum objective does not use any profiles"): + with pytest.warns(UserWarning, match="Vacuum objective assumes 0 pressure"): main(args) HELIOTRON_vacuum_out = {