Fix pyflakes error with msg/message in assert_dicts_equal