21 lines
849 B
Diff
21 lines
849 B
Diff
|
|
diff --git a/urllib3-1.24.3/src/urllib3/connection.py b/urllib3-1.24.3/src/urllib3/connection.py
|
||
|
|
index ba269b7..5384094 100644
|
||
|
|
--- a/src/urllib3/connection.py
|
||
|
|
+++ b/src/urllib3/connection.py
|
||
|
|
@@ -57,10 +57,9 @@ port_by_scheme = {
|
||
|
|
|
||
|
|
# When updating RECENT_DATE, move it to within two years of the current date,
|
||
|
|
# and not less than 6 months ago.
|
||
|
|
-# Example: if Today is 2018-01-01, then RECENT_DATE should be any date on or
|
||
|
|
-# after 2016-01-01 (today - 2 years) AND before 2017-07-01 (today - 6 months)
|
||
|
|
-RECENT_DATE = datetime.date(2017, 6, 30)
|
||
|
|
-
|
||
|
|
+# When it comes time to update this value as a part of regular maintenance
|
||
|
|
+# (ie test_recent_date is failing) update it to ~6 months before the current date.
|
||
|
|
+RECENT_DATE = datetime.date(2019, 9, 1)
|
||
|
|
|
||
|
|
class DummyConnection(object):
|
||
|
|
"""Used to detect a failed ConnectionCls import."""
|
||
|
|
--
|
||
|
|
2.19.1
|