diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-10-23 00:08:56 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-10-23 00:11:17 +0200 |
| commit | ea57112d531dfc6d2be50f47ee89f3a06f8ff1a8 (patch) | |
| tree | c45306780c2f7860e7c9b446850663f8cf50d40c /tests | |
| parent | 11a4b6d9239471b3675900f3019f698a98acf590 (diff) | |
Reverted 6a64822bf4632707212314a25a843c862bdb3874.
This commit caused every test that does two or more assertContains to
fail, because of #6527. It also made HttpResponse non-pickleable.
Refs #13222.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/httpwrappers/tests.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/regressiontests/httpwrappers/tests.py b/tests/regressiontests/httpwrappers/tests.py index 803cbf029f..bfb4ae1fd5 100644 --- a/tests/regressiontests/httpwrappers/tests.py +++ b/tests/regressiontests/httpwrappers/tests.py @@ -330,13 +330,6 @@ class HttpResponseTests(unittest.TestCase): self.assertRaises(UnicodeEncodeError, getattr, r, 'content') - def test_iterator_isnt_rewound(self): - # Regression test for #13222 - r = HttpResponse('abc') - i = iter(r) - self.assertEqual(list(i), [b'abc']) - self.assertEqual(list(i), []) - def test_file_interface(self): r = HttpResponse() r.write(b"hello") |
