Skip to content

Commit f8704f1

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent 2a3d7c8 commit f8704f1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_transforms.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,19 +121,18 @@ def test_tth_to_q_bad(wavelength, tth, expected_error_type, expected_error_msg):
121121
[
122122
# Case 1: empty q values, expect empty d values
123123
(np.array([]), np.array([]), False),
124-
125124
# Case 2:
126125
# 1. valid q values, expect d values without warning
127126
(
128127
np.array([0.1, 1 * np.pi, 2 * np.pi, 3 * np.pi, 4 * np.pi, 5 * np.pi]),
129128
np.array([62.83185307, 2, 1, 0.66667, 0.5, 0.4]),
130-
False
129+
False,
131130
),
132131
# 2. valid q values containing 0, expect d values with divide by zero warning
133132
(
134133
np.array([0, 1 * np.pi, 2 * np.pi, 3 * np.pi, 4 * np.pi, 5 * np.pi]),
135134
np.array([np.inf, 2, 1, 0.66667, 0.5, 0.4]),
136-
True
135+
True,
137136
),
138137
],
139138
)

0 commit comments

Comments
 (0)