fix windows kill issue
This commit is contained in:
@@ -506,9 +506,10 @@ def test_funcarg_teardown_failure(testdir):
|
|||||||
|
|
||||||
def test_crashing_item(testdir):
|
def test_crashing_item(testdir):
|
||||||
p = testdir.makepyfile("""
|
p = testdir.makepyfile("""
|
||||||
|
import py
|
||||||
import os
|
import os
|
||||||
def test_crash():
|
def test_crash():
|
||||||
os.kill(os.getpid(), 15)
|
py.process.kill(os.getpid())
|
||||||
def test_noncrash():
|
def test_noncrash():
|
||||||
pass
|
pass
|
||||||
""")
|
""")
|
||||||
|
|||||||
Reference in New Issue
Block a user