diff options
author | Shadab Zafar <dufferzafar0@gmail.com> | 2016-06-07 12:08:46 +0530 |
---|---|---|
committer | Shadab Zafar <dufferzafar0@gmail.com> | 2016-06-08 16:15:54 +0530 |
commit | 6b03df2633c4e82dac378cb2d0d5506067c6f40c (patch) | |
tree | c040848900e669a273efb95462cc6b2bcd381b38 /test/pathod/test_language_http2.py | |
parent | 0280af9522aadd0f6ca15e8d55f4991cfa884c59 (diff) | |
download | mitmproxy-6b03df2633c4e82dac378cb2d0d5506067c6f40c.tar.gz mitmproxy-6b03df2633c4e82dac378cb2d0d5506067c6f40c.tar.bz2 mitmproxy-6b03df2633c4e82dac378cb2d0d5506067c6f40c.zip |
Py3: Use global next() instead of iterator method
Diffstat (limited to 'test/pathod/test_language_http2.py')
-rw-r--r-- | test/pathod/test_language_http2.py | 4 |
1 files 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(): |