Commits

holger krekel committed 758758d

prevent windows tests from running

Comments (0)

Files changed (2)

testing/conftest.py

 def execmodel(request):
     if request.param != "thread":
         pytest.importorskip(request.param)
+	if sys.platform == "win32":
+             pytest.xfail("eventlet/gevent do not work onwin32")
     return get_execmodel(request.param)
 
 

testing/test_gateway.py

         ch2.send(None)
         ch1.waitclose()
         ch2.waitclose()
-        status = gw.remote_status()
-        assert status.numexecuting == 0
+        for i in range(10):
+            status = gw.remote_status()
+            if status.numexecuting == 0:
+                break
+        else:
+            pytest.fail("did not get correct remote status")
         # race condition
-        assert status.numchannels <= numchannels + 1
+        assert status.numchannels <= numchannels
 
     def test_remote_exec_module(self, tmpdir, gw):
         p = tmpdir.join("remotetest.py")