refining tests for jython and python2.7
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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("""
|
||||
|
||||
Reference in New Issue
Block a user