Skip to content

Commit 64d8693

Browse files
remove docstring from private test functions
1 parent 2a5a819 commit 64d8693

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: tests/diffpy/utils/scattering_objects/test_diffraction_objects.py

-3
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,6 @@ def test_diffraction_objects_equality(inputs1, inputs2, expected):
232232

233233

234234
def _test_valid_diffraction_objects(actual_diffraction_object, function, expected_array):
235-
"""Checks the behavior of the DiffractionObject:
236-
when there is no wavelength, we expect the correct warning message and output,
237-
otherwise, we only check the output matches the expected array."""
238235
if actual_diffraction_object.wavelength is None:
239236
with pytest.warns(UserWarning) as warn_record:
240237
getattr(actual_diffraction_object, function)()

0 commit comments

Comments
 (0)