← Back to team overview

launchpad-dev team mailing list archive

Re: ec2 test failures

 

On Nov 18, 2011, at 09:06 , Brad Crittenden wrote:
> 
> The best way to handle the needs of that test would be to instantiate an independent generator (random.Random()) rather than monkeying with the global one.

Actually using a new instance would not work well in the case of test_token_creation.  It could be done but wouldn't buy much for the added complexity.  I see you've created a branch to change that test to use get/setstate.  Thanks.

--Brad

References