On Fri, 9 Jul 2010 00:59:02 +1000
Nick Coghlan <ncogh...@gmail.com> wrote:
> py_module_tests = support.import_fresh_module('moduletester',
> fresh=['modulename'], blocked=['_modulename'])
> c_module_tests = support.import_fresh_module('moduletester',
> fresh=['modulename', '_modulename'])

I don't really like the proliferation of module test helpers, it only
makes things confusing and forces you to switch between more files in
your editor. By contrast, the subclassing solution is simple, explicit
and obvious.

(I also wonder what problem this subthread is trying to solve at all.
Just my 2 eurocents)

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to