mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-04 06:33:46 +08:00
Fix a few tests that failed, because they were not correct python (the context was wrong).
This commit is contained in:
1 parent
4f6368e7eb
commit
c12dbe0b9e
6 files changed
+18
-19
No files matched your search
@@ -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