Remove a dict-comprehension.
Not compatible with python26.
This commit is contained in:
parent
5d2496862a
commit
4d02863b16
|
@ -128,9 +128,9 @@ class ApproxMapping(ApproxBase):
|
|||
"""
|
||||
|
||||
def __repr__(self):
|
||||
return repr({
|
||||
k: self._approx_scalar(v)
|
||||
for k,v in self.expected.items()})
|
||||
return repr(dict(
|
||||
(k, self._approx_scalar(v))
|
||||
for k,v in self.expected.items()))
|
||||
|
||||
def __eq__(self, actual):
|
||||
if actual.keys() != self.expected.keys():
|
||||
|
|
Loading…
Reference in New Issue