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

@@ -0,0 +1,9 @@
from py.plugin.pytest_tmpdir import pytest_funcarg__tmpdir
def test_funcarg(testdir):
from py.impl.test.funcargs import FuncargRequest
item = testdir.getitem("def test_func(tmpdir): pass")
p = pytest_funcarg__tmpdir(FuncargRequest(item))
assert p.check()
bn = p.basename.strip("0123456789-")
assert bn.endswith("test_func")