From a939423006aff0cba39448572ee438b23d6d99d4 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 23 Jan 2012 02:03:16 -0500 Subject: [PATCH] dammit, i changed again --- test_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_requests.py b/test_requests.py index 2c734a4..29de3ed 100755 --- a/test_requests.py +++ b/test_requests.py @@ -713,7 +713,7 @@ class RequestsTestSuite(unittest.TestCase): # In safe mode, should return a blank response r = requests.get(httpbin('stream', '1000'), timeout=0.0001, config=dict(safe_mode=True)) - self.assertIsNone(r.content) + assert r.content is None assert isinstance(r.error, requests.exceptions.Timeout) -- 2.7.4