refining tests for jython and python2.7

This commit is contained in:
holger krekel
2010-07-06 13:50:03 +02:00
parent fa7da18d9b
commit d0ccb5743d
3 changed files with 4 additions and 4 deletions

View File

@@ -47,6 +47,7 @@ class TestDistribution:
])
assert result.ret == 1
@py.test.mark.xfail("sys.platform.startswith('java')")
def test_dist_tests_with_crash(self, testdir):
if not hasattr(py.std.os, 'kill'):
py.test.skip("no os.kill")

View File

@@ -1,6 +1,6 @@
import py
def test_dist_conftest_options(testdir):
def test_dist_conftest_options(testdir, recwarn):
p1 = testdir.tmpdir.ensure("dir", 'p1.py')
p1.dirpath("__init__.py").write("")
p1.dirpath("conftest.py").write(py.code.Source("""

View File

@@ -26,6 +26,5 @@ basepython=python2.4
basepython=python3.1
#[testenv:pypy]
#basepython=pypy-c
#[testenv:jython]
#basepython=jython
[testenv:jython]
basepython=jython