Fix tests for new urllib3 exception text.

This commit is contained in:
Cory Benfield
2016-11-15 10:22:38 +00:00
parent 72d69d7b62
commit 2d211d59a0
+1 -1
View File
@@ -1871,7 +1871,7 @@ class TestTimeout:
@pytest.mark.parametrize(
'timeout, error_text', (
((3, 4, 5), '(connect, read)'),
('foo', 'must be an int or float'),
('foo', 'must be an int, float or None'),
))
def test_invalid_timeout(self, httpbin, timeout, error_text):
with pytest.raises(ValueError) as e: