fix windows kill issue

This commit is contained in:
holger krekel
2010-01-18 02:21:42 +01:00
parent c65cd3f597
commit 97f51944e1

View File

@@ -506,9 +506,10 @@ def test_funcarg_teardown_failure(testdir):
def test_crashing_item(testdir):
p = testdir.makepyfile("""
import py
import os
def test_crash():
os.kill(os.getpid(), 15)
py.process.kill(os.getpid())
def test_noncrash():
pass
""")