[issue5613] test_posix.py and test_wait4.py having missing import on win32

2009-03-30 Thread Tim Driscoll
New submission from Tim Driscoll : These are supposed to raise a unittest.SkipTest on win32 but the unittest import is missing. The patch just adds the missing import See patch here: http://codereview.appspot.com/32074/show -- components: Tests messages: 84607 nosy: brett.cannon

[issue5633] timeit breaks when the statment is a string and the setup is not

2009-03-31 Thread Tim Driscoll
New submission from Tim Driscoll : The patch and test is here: http://codereview.appspot.com/28161/show There were no tests so i added a few of them. The one that breaks without the patch to timeit is: test_setup_is_called_when_the_statment_is_string_and_the_setup_is_not() (sorry for the long

[issue5633] fix for timeit when the statment is a string and the setup is not (and tests)

2009-03-31 Thread Tim Driscoll
Changes by Tim Driscoll : -- title: timeit breaks when the statment is a string and the setup is not -> fix for timeit when the statment is a string and the setup is not (and tests) ___ Python tracker <http://bugs.python.org/iss