make the second test pass
This commit is contained in:
1 parent
6c0a0e889c
commit
942c620cde
2 files changed
+9
-10
No files matched your search
+2
-2
@@ -311,11 +311,11 @@ def _check_array_additions(compare_array, module, is_list):
|
||||
|
||||
|
||||
def check_array_instances(instance):
|
||||
""" Used for set() and list() instances. """
|
||||
"""Used for set() and list() instances."""
|
||||
if not settings.dynamic_arrays_instances:
|
||||
return instance.var_args
|
||||
ai = ArrayInstance(instance)
|
||||
return helpers.generate_param_array([ai], instance.var_args.parent_stmt)
|
||||
return [ai]
|
||||
|
||||
|
||||
class ArrayInstance(pr.Base):
|
||||
|
||||
Reference in new issue
Block a user