Fix some more dict tests

This commit is contained in:
Dave Halter committed 2019-12-30 00:29:55 +01:00
1 parent c7296ade68
commit 7e769b87f3
5 files changed
+91 -37

No files matched your search

+3
View File
@@ -354,6 +354,9 @@ class TreeInstance(_BaseTreeInstance):
def get_annotated_class_object(self):
return self._get_annotated_class_object() or self.class_value
def get_key_values(self):
return NO_VALUES
def py__simple_getitem__(self, index):
if self.array_type == 'dict':
# Logic for dict({'foo': bar}) and dict(foo=bar)