Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5ea7f93d
Commit
5ea7f93d
authored
Oct 17, 2013
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make asyncio tests run on Windows.
parent
27b7c7eb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
Lib/test/test_asyncio/test_streams.py
Lib/test/test_asyncio/test_streams.py
+4
-1
Lib/test/test_asyncio/test_unix_events.py
Lib/test/test_asyncio/test_unix_events.py
+3
-0
Lib/test/test_asyncio/test_windows_utils.py
Lib/test/test_asyncio/test_windows_utils.py
+5
-1
No files found.
Lib/test/test_asyncio/test_streams.py
View file @
5ea7f93d
"""Tests for streams.py."""
import
gc
import
ssl
import
unittest
import
unittest.mock
try
:
import
ssl
except
ImportError
:
ssl
=
None
from
asyncio
import
events
from
asyncio
import
streams
...
...
Lib/test/test_asyncio/test_unix_events.py
View file @
5ea7f93d
...
...
@@ -10,6 +10,9 @@ import sys
import
unittest
import
unittest.mock
if
sys
.
platform
==
'win32'
:
raise
unittest
.
SkipTest
(
'UNIX only'
)
from
asyncio
import
events
from
asyncio
import
futures
...
...
Lib/test/test_asyncio/test_windows_utils.py
View file @
5ea7f93d
...
...
@@ -11,7 +11,11 @@ if sys.platform != 'win32':
import
_winapi
from
asyncio
import
windows_utils
from
asyncio
import
_overlapped
try
:
import
_overlapped
except
ImportError
:
from
asyncio
import
_overlapped
class
WinsocketpairTests
(
unittest
.
TestCase
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment