mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-08 21:33:01 +08:00
BUG: fix assert_equal for tuple-keyed dictionaries
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user