diff --git a/test/socks.py b/test/socks.py index 508f8c2cf..3ad2e67ea 100644 --- a/test/socks.py +++ b/test/socks.py @@ -15,7 +15,7 @@ class MyTCPServer(ThreadingTCPServer): allow_reuse_address = True CLOSE = object() -logging.basicConfig(filename='/dev/stderr', level=logging.INFO) +logging.basicConfig(stream=sys.stderr, level=logging.INFO) VERSION = '\x05' NOAUTH = '\x00'