remove pylib things and move things to new pytest namespace

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-10-07 11:59:00 +02:00
parent f488da5cc8
commit d1aff902d5
157 changed files with 176 additions and 15061 deletions

View File

@@ -1,7 +1,7 @@
import py
import os, sys
from py._plugin.pytest__pytest import HookRecorder
from py._test.pluginmanager import Registry
from pytest.plugin.pytest__pytest import HookRecorder
from pytest.pluginmanager import Registry
def test_hookrecorder_basic():
rec = HookRecorder(Registry())
@@ -29,7 +29,7 @@ def test_hookrecorder_basic_no_args_hook():
def test_functional(testdir, linecomp):
reprec = testdir.inline_runsource("""
import py
from py._test.pluginmanager import HookRelay, Registry
from pytest.pluginmanager import HookRelay, Registry
pytest_plugins="_pytest"
def test_func(_pytest):
class ApiClass: