refine docs and docstrings, fix some small bits here and there while doing that.

This commit is contained in:
holger krekel
2010-11-18 14:56:16 +01:00
parent a698465487
commit 582486d531
20 changed files with 88 additions and 202 deletions

View File

@@ -204,12 +204,12 @@ class TestCustomConftests:
return path.basename.startswith("x") or \
path.basename == "test_one.py"
""")
testdir.mkdir("xy123").ensure("test_hello.py").write(
"syntax error"
)
sub = testdir.mkdir("xy123")
sub.ensure("test_hello.py").write("syntax error")
sub.join("conftest.py").write("syntax error")
testdir.makepyfile("def test_hello(): pass")
testdir.makepyfile(test_one="syntax error")
result = testdir.runpytest()
result = testdir.runpytest("--fulltrace")
assert result.ret == 0
result.stdout.fnmatch_lines(["*1 passed*"])