Skip to content

Commit f635f4d

Browse files
committed
Add sig fig to 13 and remove comment not needed
1 parent 71fcb6b commit f635f4d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_diffraction_objects.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,7 @@ def test_dump(tmp_path, mocker):
343343
@pytest.mark.parametrize("inputs, expected", tc_params)
344344
def test_constructor(inputs, expected):
345345
actual_do = DiffractionObject(**inputs)
346-
diff = DeepDiff(actual_do.__dict__, expected, ignore_order=True, significant_digits=4)
347-
# Ensure there is no difference
346+
diff = DeepDiff(actual_do.__dict__, expected, ignore_order=True, significant_digits=13)
348347
assert diff == {}
349348

350349

0 commit comments

Comments
 (0)