From efb0f7133cea4e99ea514a93d291f7dc10ba7edc Mon Sep 17 00:00:00 2001 From: Shadab Zafar Date: Mon, 6 Jun 2016 00:52:37 +0530 Subject: Py3: Use global next() instead of iterator method --- test/pathod/test_language_websocket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pathod/test_language_websocket.py') 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: -- cgit v1.2.3