Merge branch 'master' into merge-master-into-features

This commit is contained in:
Bruno Oliveira
2016-11-27 17:30:40 -02:00
18 changed files with 163 additions and 42 deletions

View File

@@ -1414,6 +1414,9 @@ class ApproxNonIterable(object):
self.rel = rel
def __repr__(self):
if isinstance(self.expected, complex):
return str(self.expected)
# Infinities aren't compared using tolerances, so don't show a
# tolerance.
if math.isinf(self.expected):