use taskkill cmdline for jython/win32 but skip test on jython because it does not return a subprocess PID

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-04-21 06:23:19 -07:00
parent c10f0c2c36
commit cbb4c0dadc
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import py
import os, sys
if sys.platform == "win32":
if sys.platform == "win32" or getattr(os, '_name', '') == 'nt':
try:
import ctypes
except ImportError: