We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5812fd8 commit 4d28a1bCopy full SHA for 4d28a1b
src/diffpy/labpdfproc/tests/test_tools.py
@@ -132,5 +132,5 @@ def test_load_user_metadata_bad(inputs, msg):
132
actual_parser.add_argument("--wavelength")
133
actual_parser.add_argument("--user-metadata")
134
actual_args = actual_parser.parse_args(["--user-metadata", inputs[0]])
135
- with pytest.raises(ValueError, match=re.escape(msg[0])):
+ with pytest.raises(ValueError, match=msg[0]):
136
actual_args = load_user_metadata(actual_args)
0 commit comments