Skip to content

Video editing with Python

make python3 compatible

Michael Gygli01ebcc317be0
diff --git a/tests/test_issues.py b/tests/test_issues.py
index be367e83..ebfb91e0 100644
--- a/tests/test_issues.py
+++ b/tests/test_issues.py
@@ -292,7 +292,7 @@ def test_issue_655():
with VideoFileClip(video_file) as v:
with v.subclip(1,2) as s:
pass
- v.subclip(*subclip).iter_frames().next()
+ next(v.subclip(*subclip).iter_frames())
assert True