diff --git a/SPECS/python-urllib3.spec b/SPECS/python-urllib3.spec index e684a2b..781a469 100644 --- a/SPECS/python-urllib3.spec +++ b/SPECS/python-urllib3.spec @@ -66,6 +66,15 @@ rm -rf test/contrib/ # fail when combined with the unbundling of backports-ssl_match_hostname rm -f test/test_no_ssl.py +# Test `test_recent_date` fails if RECENT_DATE is not up to date. +# Comment from the test: +# This test is to make sure that the RECENT_DATE value +# doesn't get too far behind what the current date is. +# When this test fails update urllib3.connection.RECENT_DATE +# according to the rules defined in that file. +sed -i "s/^RECENT_DATE = datetime.date(2017, 6, 30)$/RECENT_DATE = datetime.date(2019, 2, 19)/" \ + urllib3/connection.py + %build %py3_build