Skip to content

Commit 7324351

Browse files
tweak on bad cases
1 parent 56e7fdd commit 7324351

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
@@ -183,7 +183,7 @@ def test_set_wavelength_bad(inputs, msg):
183183
cli_inputs = ["2.5", "data.xy"] + inputs
184184
actual_args = get_args(cli_inputs)
185185
with pytest.raises(ValueError, match=re.escape(msg[0])):
186-
actual_args.wavelength = set_wavelength(actual_args)
186+
actual_args = set_wavelength(actual_args)
187187

188188

189189
params5 = [

0 commit comments

Comments
 (0)