Forráskód Böngészése

improve python2 test

ruki 5 éve
szülő
commit
12c974cab3
1 módosított fájl, 1 hozzáadás és 3 törlés
  1. 1 3
      packages/p/python2/xmake.lua

+ 1 - 3
packages/p/python2/xmake.lua

@@ -137,7 +137,5 @@ package("python2")
         os.vrun("python2 -c \"import pip\"")
         os.vrun("python2 -c \"import setuptools\"")
         os.vrun("python2 -c \"import wheel\"")
-        if not package:is_plat("windows") then
-            assert(package:has_cfuncs("PyModule_New", {includes = "Python.h"}))
-        end
+        assert(package:has_cfuncs("PyModule_New", {includes = "Python.h"}))
     end)