Skip to content

Commit edd44ee

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent 65d9d61 commit edd44ee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_transforms.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@
1515
(None, np.empty((0)), np.empty((0))),
1616
# 2. 4π wavelength, expect empty arrays
1717
(4 * np.pi, np.empty((0)), np.empty(0)),
18-
1918
# C2. Non-empty q values
2019
# 2. No wavelength, expect value tth values
2120
(
2221
None,
2322
np.array([0, 0.2, 0.4, 0.6, 0.8, 1]),
2423
np.array([0, 1, 2, 3, 4, 5]),
2524
),
26-
2725
# C3: Both valid q and wavelength provided
2826
# 1. Expected tth values are 2*arcsin(q) in degrees
2927
(4 * np.pi, np.array([0, 1 / np.sqrt(2), 1.0]), np.array([0, 90.0, 180.0])),
@@ -41,7 +39,7 @@ def test_q_to_tth(wavelength, q, expected_tth, wavelength_warning_msg):
4139

4240
@pytest.mark.parametrize(
4341
"wavelength, q, expected_error_type",
44-
[
42+
[
4543
# Test error messages in q to tth conversion with invalid Two theta values.
4644
# C1: Invalid q values that result in tth > 180 degrees
4745
(

0 commit comments

Comments
 (0)