Skip to content

Commit

Permalink
Merge pull request #438 from earney/issue417
Browse files Browse the repository at this point in the history
fix issue 417..  unicode has no attribute shape  (error in python 2)
  • Loading branch information
bearney74 authored Feb 24, 2017
2 parents b3dba11 + ff44f23 commit 83ed8a5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ 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)

def test_issue_407():
assert round(knights.fps) == 30
Expand Down

0 comments on commit 83ed8a5

Please sign in to comment.