Skip to content

1) Capture no wavelength UserWarning for test_q_to_thh method 2) discuss passing variables to @pytest.mark.parametrize #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Dec 14, 2024
Prev Previous commit
Next Next commit
Remove another duplicate line for actual_tth = q_to_tth(q, wavelength)
  • Loading branch information
bobleesj committed Dec 14, 2024
commit d176b6b34b0a504beb6aa73390ad1db89c43b05f
1 change: 0 additions & 1 deletion tests/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def test_q_to_tth(wavelength, q, expected_tth):
if wavelength is None:
with pytest.warns(UserWarning, match=re.escape(wavelength_warning_emsg)):
actual_tth = q_to_tth(q, wavelength)
actual_tth = q_to_tth(q, wavelength)
else:
actual_tth = q_to_tth(q, wavelength)

Expand Down
Loading