David Nadlinger:

> At least allowing imports in unittests would be nice though – I 
> frequently find myself writing »version (unittest) {}« blocks before the 
> actual unit tests just to import some modules not needed during regular 
> builds (yeah, I suppose I'm somewhat pedantic about that).

version(unittest) was added just to solve this problem, and for me it's a good 
solution. So imports in unittests is an anti-justification for the 
turtle-import feature.

Bye,
bearophile

Reply via email to