Skip to content

Commit 7eb0c0d

Browse files
remove warning in error msg
1 parent 2e1853a commit 7eb0c0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/diffpy/utils/diffraction_objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
def _xtype_wmsg(xtype):
2323
return (
24-
f"WARNING: I don't know how to handle the xtype, '{xtype}'. Please rerun specifying an "
24+
f"I don't know how to handle the xtype, '{xtype}'. Please rerun specifying an "
2525
f"xtype from {*XQUANTITIES, }"
2626
)
2727

tests/test_diffraction_objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def test_on_xtype_bad():
215215
with pytest.raises(
216216
ValueError,
217217
match=re.escape(
218-
f"WARNING: I don't know how to handle the xtype, 'invalid'. Please rerun specifying an "
218+
f"I don't know how to handle the xtype, 'invalid'. Please rerun specifying an "
219219
f"xtype from {*XQUANTITIES, }"
220220
),
221221
):

0 commit comments

Comments
 (0)