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:
|
||||
with open("") as defined_in_false:
|
||||
#? ['seekable']
|
||||
defined_in_false.seekab
|
||||
#? ['flush']
|
||||
defined_in_false.flu
|
||||
|
||||
# -----------------
|
||||
# Return checks
|
||||
|
||||
Reference in New Issue
Block a user