Skip to content

Commit 9741a8e

Browse files
committed
Revert not needed change to naming in a test func
1 parent 5d0ebcc commit 9741a8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_diffraction_objects.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def test_diffraction_objects_equality(
155155

156156

157157
@pytest.mark.parametrize(
158-
"xtype, expected_all_arrays",
158+
"xtype, expected_xarray",
159159
[
160160
# Test whether on_xtype returns the correct xarray values.
161161
# C1: tth to tth, expect no change in xarray value
@@ -169,10 +169,10 @@ def test_diffraction_objects_equality(
169169
("d", np.array([12.13818, 6.28319])),
170170
],
171171
)
172-
def test_on_xtype(xtype, expected_all_arrays, do_minimal_tth):
172+
def test_on_xtype(xtype, expected_xarray, do_minimal_tth):
173173
do = do_minimal_tth
174174
actual_xrray, actual_yarray = do.on_xtype(xtype)
175-
assert np.allclose(actual_xrray, expected_all_arrays)
175+
assert np.allclose(actual_xrray, expected_xarray)
176176
assert np.allclose(actual_yarray, np.array([1, 2]))
177177

178178

0 commit comments

Comments
 (0)