From 6b03df2633c4e82dac378cb2d0d5506067c6f40c Mon Sep 17 00:00:00 2001 From: Shadab Zafar Date: Tue, 7 Jun 2016 12:08:46 +0530 Subject: Py3: Use global next() instead of iterator method --- test/pathod/test_language_http2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pathod/test_language_http2.py b/test/pathod/test_language_http2.py index 4b4d1ff9..40243f03 100644 --- a/test/pathod/test_language_http2.py +++ b/test/pathod/test_language_http2.py @@ -10,11 +10,11 @@ import tutils def parse_request(s): - return language.parse_pathoc(s, True).next() + return next(language.parse_pathoc(s, True)) def parse_response(s): - return language.parse_pathod(s, True).next() + return next(language.parse_pathod(s, True)) def default_settings(): -- cgit v1.2.3