diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2014-12-19 22:18:09 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2014-12-19 22:18:09 +0100 |
| commit | 2b06827fbbd4300c914f098eb5b0172e6c8d78ca (patch) | |
| tree | c64b802b79d6616a0b3eedf722e10c7cf3e2ce08 /tests/test_windows_utils.py | |
| parent | cd4007814d635e1da805bd353afbff30942e0892 (diff) | |
| download | trollius-git-2b06827fbbd4300c914f098eb5b0172e6c8d78ca.tar.gz | |
asyncio.test_support now uses test.support and test.script_helper if available
Diffstat (limited to 'tests/test_windows_utils.py')
| -rw-r--r-- | tests/test_windows_utils.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/test_windows_utils.py b/tests/test_windows_utils.py index b957949..92db24e 100644 --- a/tests/test_windows_utils.py +++ b/tests/test_windows_utils.py @@ -5,18 +5,14 @@ import sys import unittest from unittest import mock -try: - from test import support # gc_collect, IPV6_ENABLED -except ImportError: - from asyncio import test_support as support - if sys.platform != 'win32': raise unittest.SkipTest('Windows only') import _winapi -from asyncio import windows_utils from asyncio import _overlapped +from asyncio import test_support as support +from asyncio import windows_utils class WinsocketpairTests(unittest.TestCase): |
