File Imaging-1.1.5-test.patch of Package python-2.4-imaging
--- selftest.py
+++ selftest.py
@@ -149,6 +149,7 @@
status = doctest.testmod(selftest)
if status[0]:
print "*** %s tests of %d failed." % status
+ sys.exit(1)
else:
print "%s tests passed." % status[1]