Commits

Ronny Pfannschmidt  committed ba2e889

fix io split tests

  • Participants
  • Parent commits cf476cc

Comments (0)

Files changed (1)

File io-creation-split

 # HG changeset patch
 # Parent 7bdfdda4dfb68a8f9b3be89ab390e847078d626e
+
 diff --git a/execnet/gateway.py b/execnet/gateway.py
 --- a/execnet/gateway.py
 +++ b/execnet/gateway.py
                  if popen:
                      killpopen(popen)
  
+diff --git a/testing/test_multi.py b/testing/test_multi.py
+--- a/testing/test_multi.py
++++ b/testing/test_multi.py
+@@ -79,8 +79,14 @@ class TestGroup:
+         assert atexitlist == [group._cleanup_atexit]
+         exitlist = []
+         joinlist = []
++
++        class PseudoIO:
++            def wait(self):
++                pass
++
+         class PseudoGW:
+             id = "9999"
++            _io = PseudoIO()
+             def exit(self):
+                 exitlist.append(self)
+                 group._unregister(self)