[pygobject/benzea/gio-asyncio] fixup! events: Implement asyncio event loop based on glib



commit 2203f36e26f63715a088ebf88ae4de6642efd31e
Author: Benjamin Berg <bberg redhat com>
Date:   Fri Nov 19 16:22:31 2021 +0100

    fixup! events: Implement asyncio event loop based on glib

 tests/test_events.py | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/tests/test_events.py b/tests/test_events.py
index 2809155d..9443c01f 100644
--- a/tests/test_events.py
+++ b/tests/test_events.py
@@ -111,6 +111,12 @@ if sys.platform != 'win32':
             t1 = self.loop.time()
             self.assertTrue(0.08 <= t1-t0 <= 0.8, t1-t0)
 
+        @unittest.skip("ProcessPoolExecutor is not compatible with GLib")
+        def test_get_event_loop_new_process():
+            # 3.7 and later have this test in GetEventLoopTestsMixin,
+            # it cannot work because glib does not allow forking like this.
+            pass
+
     class SubprocessWatcherTests(SubprocessMixin, test_utils.TestCase):
 
         def setUp(self):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]