mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
Fix a few tests that failed, because they were not correct python (the context was wrong).
This commit is contained in:
@@ -22,7 +22,7 @@ def gen_ret(value):
|
||||
next(gen_ret(1))
|
||||
|
||||
#? []
|
||||
next(gen_ret())
|
||||
next(gen_ret()).
|
||||
|
||||
# generators evaluate to true if cast by bool.
|
||||
a = ''
|
||||
@@ -42,7 +42,7 @@ def get(param):
|
||||
yield ""
|
||||
|
||||
#? []
|
||||
get()[0]
|
||||
get()[0].
|
||||
|
||||
# -----------------
|
||||
# __iter__
|
||||
|
||||
Reference in New Issue
Block a user