forked from VimPlug/jedi
Execute test only on 64bit platforms
This commit is contained in:
@@ -21,13 +21,13 @@ def test_completions():
|
|||||||
|
|
||||||
@cwd_at('test/extensions')
|
@cwd_at('test/extensions')
|
||||||
def test_call_signatures():
|
def test_call_signatures():
|
||||||
# if platform.architecture()[0] == '64bit':
|
if platform.architecture()[0] == '64bit':
|
||||||
package_name = "compiled%s%s" % sys.version_info[:2]
|
package_name = "compiled%s%s" % sys.version_info[:2]
|
||||||
sys.path.insert(0, os.getcwd())
|
sys.path.insert(0, os.getcwd())
|
||||||
if os.path.exists(package_name):
|
if os.path.exists(package_name):
|
||||||
s = jedi.Script("from %s import compiled; compiled.Foo(" %
|
s = jedi.Script("from %s import compiled; compiled.Foo(" %
|
||||||
package_name)
|
package_name)
|
||||||
defs = s.call_signatures()
|
defs = s.call_signatures()
|
||||||
for call_def in defs:
|
for call_def in defs:
|
||||||
for param in call_def.params:
|
for param in call_def.params:
|
||||||
pass
|
pass
|
||||||
Reference in New Issue
Block a user