make py lib a self-contained directory again

- move and merge _py/ bits back to py/
- fixes all around

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-11-04 21:34:07 +01:00
parent 4dd6c7679d
commit b04a04cabd
160 changed files with 294 additions and 281 deletions

View File

@@ -1,5 +1,5 @@
import py, os
from _py.test.pluginmanager import PluginManager, canonical_importname, collectattr
from py.impl.test.pluginmanager import PluginManager, canonical_importname, collectattr
class TestBootstrapping:
def test_consider_env_fails_to_import(self, monkeypatch):
@@ -172,7 +172,7 @@ class TestBootstrapping:
class TestPytestPluginInteractions:
def test_do_option_conftestplugin(self, testdir):
from _py.test.config import Config
from py.impl.test.config import Config
p = testdir.makepyfile("""
def pytest_addoption(parser):
parser.addoption('--test123', action="store_true")
@@ -200,7 +200,7 @@ class TestPytestPluginInteractions:
])
def test_do_option_postinitialize(self, testdir):
from _py.test.config import Config
from py.impl.test.config import Config
config = Config()
config.parse([])
config.pluginmanager.do_configure(config=config)