forked from VimPlug/jedi
Fix flow analysis test
There is no seekable method for file objects on Python 2. Use flush instead.
This commit is contained in:
@@ -31,8 +31,8 @@ finally:
|
|||||||
|
|
||||||
if False:
|
if False:
|
||||||
with open("") as defined_in_false:
|
with open("") as defined_in_false:
|
||||||
#? ['seekable']
|
#? ['flush']
|
||||||
defined_in_false.seekab
|
defined_in_false.flu
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
# Return checks
|
# Return checks
|
||||||
|
|||||||
Reference in New Issue
Block a user