Skip to content
Myr

Fix test for Py3.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Cory Benfield · committed by Cory Benfield · parent 2f7923b · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:test_requests.py+1 added-1 removed
327 unmodified lines
328 def test_response_is_iterable(self):329 r = requests.Response()330 io = StringIO.StringIO('abc')331 r.raw = io332 self.assertTrue(iter(r).next())332 self.assertTrue(next(iter(r)))333 io.close()334335if __name__ == '__main__':336 unittest.main()