Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add more windows tests
  • Loading branch information
kumaraditya303 committed Mar 21, 2026
commit ec0ed9b8fe24b904685841b4a5bf3ceb90e900fd
9 changes: 8 additions & 1 deletion Lib/test/test_asyncio/test_server_context.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

import asyncio
import contextvars
import unittest
import sys

from unittest import TestCase

Expand Down Expand Up @@ -261,5 +261,12 @@ async def main():
class AsyncioEventLoopTests(TestCase, ServerContextvarsTestCase):
loop_factory = staticmethod(asyncio.new_event_loop)

if sys.platform == "win32":
class AsyncioProactorEventLoopTests(TestCase, ServerContextvarsTestCase):
loop_factory = asyncio.ProactorEventLoop

class AsyncioSelectorEventLoopTests(TestCase, ServerContextvarsTestCase):
loop_factory = asyncio.SelectorEventLoop

if __name__ == "__main__":
unittest.main()
Loading