We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a8e2bd commit ec0ed9bCopy full SHA for ec0ed9b
Lib/test/test_asyncio/test_server_context.py
@@ -1,7 +1,7 @@
1
-
2
import asyncio
3
import contextvars
4
import unittest
+import sys
5
6
from unittest import TestCase
7
@@ -261,5 +261,12 @@ async def main():
261
class AsyncioEventLoopTests(TestCase, ServerContextvarsTestCase):
262
loop_factory = staticmethod(asyncio.new_event_loop)
263
264
+if sys.platform == "win32":
265
+ class AsyncioProactorEventLoopTests(TestCase, ServerContextvarsTestCase):
266
+ loop_factory = asyncio.ProactorEventLoop
267
+
268
+ class AsyncioSelectorEventLoopTests(TestCase, ServerContextvarsTestCase):
269
+ loop_factory = asyncio.SelectorEventLoop
270
271
if __name__ == "__main__":
272
unittest.main()
0 commit comments