fix unittest typo

This commit is contained in:
colin
2015-05-25 17:08:06 -04:00
committed by Cory Benfield
parent a92a2a4263
commit fd31453aa2
+2 -2
View File
@@ -1067,8 +1067,8 @@ class RequestsTestCase(unittest.TestCase):
with contextlib.closing(s.get(httpbin('stream/4'), stream=True)) as response:
pass
self.assertEqual(response._content_consumed, False)
self.assertTrue(response.raw.closed, True)
self.assertFalse(response._content_consumed)
self.assertTrue(response.raw.closed)
@pytest.mark.xfail
def test_response_iter_lines_reentrant(self):