fix some py33 issues introduced with rev 2985

--HG--
branch : argcomplete
This commit is contained in:
holger krekel 2013-08-01 14:24:25 +02:00
parent ef2ddb6f16
commit b90d82c17f
2 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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")