BUG: fix assert_equal for tuple-keyed dictionaries

This commit is contained in:
Joe Jevnik authored and Joe Jevnik committed 2017-06-07 14:50:13 -04:00
1 parent 5160b11bc1
commit cb7ee53111
1 file changed
+1 -1
+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
)