Ralf Gommers <ralf.gommers at gmail.com> wrote: > I think that's worse than an exception. An exception will be visible and > people can fix their code. Silently returning a different image may go > undetected. Yes, returning an image of a cat is certainly unacceptable. It should return the IEEE Lena test image or raise an error. Sturla