Fix some more dict tests
This commit is contained in:
1 parent
c7296ade68
commit
7e769b87f3
5 files changed
+91
-37
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user