diff options
author | holger krekel <holger@merlinux.eu> | 2011-09-21 08:12:37 +0200 |
---|---|---|
committer | holger krekel <holger@merlinux.eu> | 2011-09-21 08:12:37 +0200 |
commit | d37af98db3f3ecee0e58c23b118292feb9d1f2d9 (patch) | |
tree | 8cd2531a266ff56b2ede75a9554976e40d941eca /testing/test_conftest.py | |
parent | 4316cf2121ee80d9bdf3ec026894e3cb7e25e68a (diff) | |
download | pytest-d37af98db3f3ecee0e58c23b118292feb9d1f2d9.tar.gz |
try to make test suite pass on jython 2.5.1 again
Diffstat (limited to 'testing/test_conftest.py')
-rw-r--r-- | testing/test_conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_conftest.py b/testing/test_conftest.py index 23824be57..1a2bdfe77 100644 --- a/testing/test_conftest.py +++ b/testing/test_conftest.py @@ -89,7 +89,7 @@ class TestConftestValueAccessGlobal: assert value == 1.5 path = py.path.local(mod.__file__) assert path.dirpath() == basedir.join("adir", "b") - assert path.purebasename == "conftest" + assert path.purebasename.startswith("conftest") def test_conftest_in_nonpkg_with_init(tmpdir): tmpdir.ensure("adir-1.0/conftest.py").write("a=1 ; Directory = 3") |