aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/test_language_websocket.py
diff options
context:
space:
mode:
authorShadab Zafar <dufferzafar0@gmail.com>2016-06-06 00:52:37 +0530
committerMaximilian Hils <git@maximilianhils.com>2016-06-06 11:48:54 -0700
commitefb0f7133cea4e99ea514a93d291f7dc10ba7edc (patch)
tree8155713ce1b97b9b9eb8c3b3e29eb3c314119b0d /test/pathod/test_language_websocket.py
parent1e1b4fd88dd16b3b6b8c2cbf9337cba4dffa6c68 (diff)
downloadmitmproxy-efb0f7133cea4e99ea514a93d291f7dc10ba7edc.tar.gz
mitmproxy-efb0f7133cea4e99ea514a93d291f7dc10ba7edc.tar.bz2
mitmproxy-efb0f7133cea4e99ea514a93d291f7dc10ba7edc.zip
Py3: Use global next() instead of iterator method
Diffstat (limited to 'test/pathod/test_language_websocket.py')
-rw-r--r--test/pathod/test_language_websocket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/test_language_websocket.py b/test/pathod/test_language_websocket.py
index 29155dba..57ba9600 100644
--- a/test/pathod/test_language_websocket.py
+++ b/test/pathod/test_language_websocket.py
@@ -6,7 +6,7 @@ import tutils
def parse_request(s):
- return language.parse_pathoc(s).next()
+ return next(language.parse_pathoc(s))
class TestWebsocketFrame: