Searched refs:the_dict (Results 1 – 3 of 3) sorted by relevance
21 def safe_append(the_dict, key, element): argument22 if key not in the_dict:23 the_dict[key] = []24 the_dict[key].append(element)
1583 return dict(the_dict)1585 return dict(the_dict)1587 return dict(the_dict)1589 return dict(the_dict)1591 the_dict = {'key': 'original'}1592 Foo = patch.dict(the_dict, key='changed')(Foo)
944 the_dict = "{" + ",".join(f"{x}:{x}" for x in range(dict_size)) + "}"945 self.assertEqual(len(eval(the_dict)), dict_size)