replacing __dict__ with an OrderedDict

Lie Ryan lie.1296 at gmail.com
Fri Jan 6 20:21:48 EST 2012


On 01/07/2012 11:49 AM, Steven D'Aprano wrote:
> You may not be able to run tests*simultaneously*, due to clashes
> involving external resources, but you should be able to run them in
> random order.

tests that involves external resources should be mocked, although there 
are always a few external resources that cannot be mocked, those are the 
exceptions not the rule; a concurrent test runner might have mechanisms 
to mark them to be run synchronously.




More information about the Python-list mailing list