fix some py33 issues introduced with rev 2985
--HG-- branch : argcomplete
This commit is contained in:
parent
ef2ddb6f16
commit
b90d82c17f
|
@ -4,7 +4,7 @@ import py
|
|||
import sys, os
|
||||
from _pytest.core import PluginManager
|
||||
import pytest
|
||||
from _argcomplete import try_argcomplete, filescompleter
|
||||
from _pytest._argcomplete import try_argcomplete, filescompleter
|
||||
|
||||
# enable after some grace period for plugin writers
|
||||
TYPE_WARN = False
|
||||
|
|
|
@ -196,7 +196,7 @@ def test_argcomplete(testdir, monkeypatch):
|
|||
monkeypatch.setenv('COMP_LINE', "py.test " + arg)
|
||||
monkeypatch.setenv('COMP_POINT', str(len("py.test " + arg)))
|
||||
result = testdir.run('bash', str(script), arg)
|
||||
print dir(result), result.ret
|
||||
#print dir(result), result.ret
|
||||
if result.ret == 255:
|
||||
# argcomplete not found
|
||||
pytest.skip("argcomplete not available")
|
||||
|
|
Loading…
Reference in New Issue