Skip to content

Commit 4d28a1b

Browse files
removed re.escape from tests
1 parent 5812fd8 commit 4d28a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffpy/labpdfproc/tests/test_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,5 @@ def test_load_user_metadata_bad(inputs, msg):
132132
actual_parser.add_argument("--wavelength")
133133
actual_parser.add_argument("--user-metadata")
134134
actual_args = actual_parser.parse_args(["--user-metadata", inputs[0]])
135-
with pytest.raises(ValueError, match=re.escape(msg[0])):
135+
with pytest.raises(ValueError, match=msg[0]):
136136
actual_args = load_user_metadata(actual_args)

0 commit comments

Comments
 (0)