Skip to content

Commit 7ac21a3

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent 781e358 commit 7ac21a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_transforms.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@
1919
(4 * np.pi, np.array([0, 1 / np.sqrt(2), 1.0]), np.array([0, 90.0, 180.0])),
2020
]
2121

22+
2223
@pytest.mark.parametrize("wavelength, q, expected_tth", params_q_to_tth)
2324
def test_q_to_tth(wavelength, q, expected_tth):
24-
25-
if wavelength is None:
25+
26+
if wavelength is None:
2627
with pytest.warns(UserWarning, match="INFO: no wavelength has been specified"):
2728
actual_tth = q_to_tth(q, wavelength)
2829
else:

0 commit comments

Comments
 (0)