BUG: fix assert_equal for tuple-keyed dictionaries

This commit is contained in:
Joe Jevnik
2017-06-06 18:33:53 -04:00
committed by Joe Jevnik
parent 5160b11bc1
commit cb7ee53111
+1 -1
View File
@@ -358,7 +358,7 @@ def assert_dict_equal(result, expected, path=(), msg='', **kwargs):
assert_equal(
resultv,
expectedv,
path=path + ('[%r]' % k,),
path=path + ('[%r]' % (k,),),
msg=msg,
**kwargs
)