[Python-Dev] Python equivalents in stdlib Was: Include datetime.py in stdlib or not? (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Thu Jul 8 21:29:29 CEST 2010
- Previous message: [Python-Dev] Python equivalents in stdlib Was: Include datetime.py in stdlib or not?
- Next message: [Python-Dev] Python equivalents in stdlib Was: Include datetime.py in stdlib or not?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 9 Jul 2010 00:59:02 +1000 Nick Coghlan <ncoghlan at gmail.com> wrote:
pymoduletests = support.importfreshmodule('moduletester', fresh=['modulename'], blocked=['modulename']) cmoduletests = support.importfreshmodule('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.
- Previous message: [Python-Dev] Python equivalents in stdlib Was: Include datetime.py in stdlib or not?
- Next message: [Python-Dev] Python equivalents in stdlib Was: Include datetime.py in stdlib or not?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]