projects
/
platform
/
upstream
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f7923b
)
Fix test for Py3.
author
Cory Benfield
<lukasaoz@gmail.com>
Sat, 26 Jan 2013 15:54:06 +0000
(15:54 +0000)
committer
Cory Benfield
<lukasaoz@gmail.com>
Mon, 28 Jan 2013 18:35:41 +0000
(18:35 +0000)
test_requests.py
patch
|
blob
|
history
diff --git
a/test_requests.py
b/test_requests.py
index b9cfde0d33a06566dd9750e581cdbf6de9377119..c4b94b2c6a3267d644c25019a6e12a58c7b5e364 100644
(file)
--- a/
test_requests.py
+++ b/
test_requests.py
@@
-329,7
+329,7
@@
class RequestsTestCase(unittest.TestCase):
r = requests.Response()
io = StringIO.StringIO('abc')
r.raw = io
- self.assertTrue(
iter(r).next(
))
+ self.assertTrue(
next(iter(r)
))
io.close()
if __name__ == '__main__':