Permalink
Browse files

reenabled a test

  • Loading branch information...
1 parent 106a3f9 commit 5dba06caa8dde89a533494b9126c1df0d295a368 @davidhalter committed Oct 24, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 jedi/helpers.py
  2. +2 −2 test/regression.py
View
@@ -168,7 +168,7 @@ def recursion(obj):
continue
elif isinstance(value, list):
setattr(new_obj, key, list_rec(value))
- elif isinstance(value, (parsing.Simple, parsing.Call)):
+ elif isinstance(value, (parsing.Simple, parsing.Array)):
setattr(new_obj, key, recursion(value))
return new_obj
View
@@ -157,11 +157,11 @@ def check(call_def, name, index):
assert check(self.get_in_function_call(s5, (1, 4)), 'abs', 0)
assert check(self.get_in_function_call(s5, (1, 6)), 'abs', 1)
- assert check(self.get_in_function_call(s6, (1, 13)), 'center', 0)
+ assert check(self.get_in_function_call(s6), 'center', 0)
assert check(self.get_in_function_call(s6, (1, 4)), 'str', 0)
# TODO uncomment!!!! this causes some very weird errors!
- #assert check(self.get_in_function_call(s7), 'center', 0)
+ assert check(self.get_in_function_call(s7), 'center', 0)
assert check(self.get_in_function_call(s8), 'zip', 0)
assert check(self.get_in_function_call(s8, (1, 8)), 'str', 0)

0 comments on commit 5dba06c

Please sign in to comment.