mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-18 19:41:06 +00:00
Remove Python 2 test.test_support import
This commit is contained in:
parent
025637b08d
commit
9f95d06a39
1 changed files with 2 additions and 4 deletions
|
|
@ -16,11 +16,9 @@
|
|||
"""
|
||||
Test proxy handling.
|
||||
"""
|
||||
from test.support import EnvironmentVarGuard
|
||||
|
||||
from . import httpserver
|
||||
try:
|
||||
from test.support import EnvironmentVarGuard
|
||||
except ImportError: # Python 3
|
||||
from test.test_support import EnvironmentVarGuard
|
||||
|
||||
class TestProxy (httpserver.HttpServerTest):
|
||||
"""Test no_proxy env var handling."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue