<s> import py , sys <EOL> def test_kill ( ) : <EOL> subprocess = py . test . importorskip ( "<STR_LIT>" ) <EOL> tmp = py . test . ensuretemp ( "<STR_LIT>" ) <EOL> t = tmp . join ( "<STR_LIT>" ) <EOL> t . write ( "<STR_LIT>" ) <EOL> proc = py . std . subprocess . Popen ( [ sys . executable , str ( t ) ] ) <EOL> assert proc . poll ( ) is None <EOL> py . process . kill ( proc . pid ) <EOL> ret = proc . wait ( ) <EOL> if sys . platform == "<STR_LIT:win32>" and ret == <NUM_LIT:0> : <EOL> py . test . skip ( "<STR_LIT>" <EOL> "<STR_LIT>" ) <EOL> assert ret != <NUM_LIT:0> </s>
