[Image-SIG] Re: MiniTest/test.py failure

Fredrik Lundh fredrik@pythonware.com
Wed, 30 Apr 2003 07:36:27 +0200


Derek Simkowiak wrote:

> It looks to me like MiniTest/test.py is broken.  I was able to compile
> and install successfully.  I haven't used PIL yet but the whole build
> looked good:
>
> [dereks@localhost dereks]$ python
> Python 2.2.2 (#2, Feb  5 2003, 10:40:08)
> [GCC 3.2.1 (Mandrake Linux 9.1 3.2.1-5mdk)] on linux-i386
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import _imaging
>  >>> import Image
>  >>>
>
> I didn't see any errors during the build or installation.  And yet:
>
> [dereks@localhost Imaging-1.1.3]$ python MiniTest/test.py
> *****************************************************************
> Failure in example: type(im.im) # internal image attribute
> from line #31 of test.testimage
> Expected: <type 'None'>
> Got: <type 'NoneType'>
> 1 items had failures:
>     1 of  40 in test.testimage
> ***Test Failed*** 1 failures.
> *** 1 tests of 40 failed.
>
> This looks like the kind of failure I can safely ignore.  Is that correct?

this problem only occurs if you run the test suite under 2.2.
you can safely ignore it.

</F>