yuppie wrote at 2005-4-4 20:59 +0200:
...
2.) I prefer to see the correct import in each file and to use utils
just for the fallback.
But, then you get a nasty try: ... except: in hundred of
files rather than just a single one.
--
Dieter
___
| Good question ;)
|
| All I know is that
|
| - CMF uses that pattern in all test files
|
| - 'Products.CMFCore.foo' seems to work with any testing setup
|
| - with my setup 'CMFCore.foo' doesn't work if I run tests outside test.py
Sorry, I meant instead of the try: except, just import from