The order of the keys is AFAIK not assured to be the same. To be safe, would recommend ``self.assertEqual(sorted(obs), sorted(exp))``