[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Re: Movie module being merged



On Tue, Aug 18, 2009 at 4:47 PM, Lenard Lindstrom<len-l@xxxxxxxxx> wrote:
> Hi Tyler,
>
> The module now builds, but the _movie_test.py unit tests fail:
>
> ERROR: MovieTypeTest.test_height
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File
> "/home/lenard/.local/lib/python2.5/site-packages/pygame/tests/_movie_test.py",
> line 125, in test_height
>   movie = gmovie.Movie(movie_file)
> AttributeError: 'NoneType' object has no attribute 'Movie'
>
> If "movie_file" is missing shouldn't gmovie.Movie raise an exception?
>
> Lenard
>

hi,

check out the try/except at the top of that test...  maybe it is
raising an exception, and catching it.

that try/except was added to try and get the build bot to build again.

cheers,