Skip to content

Commit

Permalink
Use raw string literal to escape regex char
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl committed Dec 13, 2024
1 parent df9c552 commit 00c565f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watertap/flowsheets/lsrro/tests/test_lssro_multi_sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_against_multisweep(number_of_stages, tmp_path):
csv_baseline_file_name = os.path.join(
_this_file_path, "parameter_sweep_baselines", csv_file_name
)
with pytest.warns(UserWarning, match="Too few points to perform interpolation\."):
with pytest.warns(UserWarning, match=r"Too few points to perform interpolation\."):
run_case(number_of_stages, 2, output_filename=csv_test_file_name)

baseline = pd.read_csv(csv_baseline_file_name).astype(float).T.to_dict()
Expand Down

0 comments on commit 00c565f

Please sign in to comment.