Skip to content

Commit

Permalink
add debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
flowolf committed Sep 28, 2020
1 parent b62a276 commit 46db2aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepdiff/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@ def __diff_numbers(self, level):
t2_type = "number" if self.ignore_numeric_type_changes else level.t2.__class__.__name__

if self.math_close is True:
print("MATH_CLOSE: {}, {}, {}".format(level.t1, level.t2, self.epsilon))
if not is_close(level.t1, level.t2, abs_tol=self.epsilon):
self.__report_result('values_changed', level)
elif self.significant_digits is None:
Expand Down

0 comments on commit 46db2aa

Please sign in to comment.