We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97cb710 commit 037b73dCopy full SHA for 037b73d
tests/test_diff_datetime.py
@@ -22,6 +22,9 @@ def test_datetime_within_array_with_timezone_diff(self):
22
res_ignore = DeepDiff(d1, d2, ignore_order=True)
23
assert res_ignore == expected
24
25
+ res_truncate = DeepDiff(d1, d2, truncate_datetime='second')
26
+ assert res_truncate == {}
27
+
28
29
def test_datetime_diff(self):
30
"""Testing for the correct setting and usage of epsilon."""
0 commit comments