summaryrefslogtreecommitdiff
path: root/test/test_connection.py
diff options
context:
space:
mode:
authorSeth Michael Larson <sethmichaellarson@protonmail.com>2016-11-05 18:50:50 -0500
committerSeth Michael Larson <sethmichaellarson@protonmail.com>2016-11-05 18:50:50 -0500
commitabfa7bd4ebc08e49d373fc11956553f3904369b1 (patch)
tree3cbe745a87d2b18d5b7bb832fef8273901540e4d /test/test_connection.py
parent75b6a088dbf0282194f3d7a5faa96c96d505e28e (diff)
downloadurllib3-abfa7bd4ebc08e49d373fc11956553f3904369b1.tar.gz
Unittest2 still not working
Diffstat (limited to 'test/test_connection.py')
-rw-r--r--test/test_connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_connection.py b/test/test_connection.py
index 3556dc40..66c10603 100644
--- a/test/test_connection.py
+++ b/test/test_connection.py
@@ -53,7 +53,7 @@ class TestConnection(unittest.TestCase):
# This test is to make sure that the RECENT_DATE value
# doesn't get too far behind what the current date is.
two_years = datetime.timedelta(days=365 * 2)
- self.assertGreater(RECENT_DATE, (datetime.datetime.today() - two_years).date())
+ self.assertTrue(RECENT_DATE > (datetime.datetime.today() - two_years).date())
if __name__ == '__main__':