Conversation
Notices
-
can anyone teach me how to lazily load python unittests so that imports don't happen before IsolatedTestCase forks? http://ur1.ca/0ukr1
-
@statik funny enough, I was just looking at the unittest code today. They have code for dynamic module imports using module=__import__().
-
@statik I know that doesn't answer your question but the unittest.py source is small and simple, so probably worth taking a look at.
-
@statik bzrlib.lazy_import might be useful, though it does mean depending on bzrlib. (in case others were wondering)
-