fix test for python2.7

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-07-06 13:29:32 +02:00
parent 48d818742c
commit 2664230fad
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ def test_conftest_non_python_items(recwarn, testdir):
assert item.name == "hello.xxx" assert item.name == "hello.xxx"
assert item.__class__.__name__ == "CustomItem" assert item.__class__.__name__ == "CustomItem"
def test_extra_python_files_and_functions(testdir): def test_extra_python_files_and_functions(testdir, recwarn):
testdir.makepyfile(conftest=""" testdir.makepyfile(conftest="""
import py import py
class MyFunction(py.test.collect.Function): class MyFunction(py.test.collect.Function):