Skip to content

Video editing with Python

add test for issue 417

Billy Earney3ec510668768
diff --git a/tests/test_issues.py b/tests/test_issues.py
index f3b4e4df..e889d711 100644
--- a/tests/test_issues.py
+++ b/tests/test_issues.py
@@ -34,3 +34,12 @@ def test_download_media(capsys):
def test_issue_145():
with pytest.raises(Exception, message="Expecting Exception"):
_final = concatenation([knights10], method = 'composite')
+
+def test_issue_417():
+ # failed in python2
+
+ cad = u'media/python_logo.png'
+ myclip = ImageClip(cad).fx(vfx.resize, newsize=[1280, 660])
+ final = CompositeVideoClip([myclip], size=(1280, 720))
+ #final.set_duration(7).write_videofile("test.mp4", fps=30)
+