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
+2 -2
View File
@@ -127,7 +127,7 @@ class RestWriter:
class PluginOverview(RestWriter):
def makerest(self, config):
plugindir = py.path.local(py.__file__).dirpath("test", "plugin")
plugindir = py._dir.join('plugin')
for cat, specs in plugins:
pluginlist = specs.split()
self.h1(cat)
@@ -252,7 +252,7 @@ class PluginDoc(RestWriter):
warn("missing docstring", func)
def emit_options(self, plugin):
from _py.test.parseopt import Parser
from py.impl.test.parseopt import Parser
options = []
parser = Parser(processopt=options.append)
if hasattr(plugin, 'pytest_addoption'):
+1
View File
@@ -110,3 +110,4 @@ def test_make_sdist_and_run_it(py_setup, venv):
ch = gw.remote_exec("import py ; channel.send(py.__version__)")
version = ch.receive()
assert version == py.__version__
ch = gw.remote_exec("import py ; channel.send(py.__version__)")