Jim Gallacher wrote .. > It's a strange one. When I move site-packages/PIL to > site-packages/PIL.bak (leaving PIL.pth as is) and run the tests I get > the same output as Graham and Nicolas. I'm just going to ignore this for > the time being and go with a refactored unit test.
I am making a guess that it is because of the following: ~ [510]$ touch .py ~ [511]$ python Python 2.3 (#1, Sep 13 2003, 00:49:11) [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import imp >>> imp.find_module('',None) (<open file '.py', mode 'U' at 0x602e0>, '.py', ('.py', 'U', 1)) Ie., look for a ".py" file in PIL. Graham