Merge pull request #6 from mindw/fix_win32_test

Fix win32 test
This commit is contained in:
Victor Stinner
2016-02-05 13:23:04 +01:00
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@@ -15,4 +15,5 @@ dist
*.egg-info
.tox
.idea/
*.iml
*.iml
trollius/_overlapped.pyd

View File

@@ -432,7 +432,7 @@ class SubprocessMixin:
# Issue #24763: check that the subprocess transport is closed
# when BaseSubprocessTransport fails
if sys.platform == 'win32':
target = 'asyncio.windows_utils.Popen'
target = 'trollius.windows_utils.Popen'
else:
target = 'subprocess.Popen'
with mock.patch(target) as popen: