From c9df3d807f7134f58f4a84dc8b80e9dc98c62f3a Mon Sep 17 00:00:00 2001 From: SVN-Git Migration Date: Thu, 8 Oct 2015 13:19:42 -0700 Subject: Imported Upstream version 1.10.4 --- test/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/__init__.py') diff --git a/test/__init__.py b/test/__init__.py index d56a4d3..2fce71c 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -13,7 +13,8 @@ from urllib3.packages import six # Reset. SO suggests this hostname TARPIT_HOST = '10.255.255.1' -VALID_SOURCE_ADDRESSES = [('::1', 0), ('127.0.0.1', 0)] +# (Arguments for socket, is it IPv6 address?) +VALID_SOURCE_ADDRESSES = [(('::1', 0), True), (('127.0.0.1', 0), False)] # RFC 5737: 192.0.2.0/24 is for testing only. # RFC 3849: 2001:db8::/32 is for documentation only. INVALID_SOURCE_ADDRESSES = [('192.0.2.255', 0), ('2001:db8::1', 0)] -- cgit v1.2.3