Message183092
Here's the fix for test discovery of test_future* (particularly test_future3). Without the patch, running 'python -m unittest discover Lib/test/ "test_future*"' results in an error in test_future3.py, due to test_future.py's FutureTest.test_future3 removing test_future3 from sys.modules by way of support.unload. The patch replaces all instances of support.unload with a support.CleanImport context manager.
The patch also replaces test_main() in all test_future*.py modules, just for good measure. |
|
Date |
User |
Action |
Args |
2013-02-26 21:38:25 | zach.ware | set | recipients:
+ zach.ware, brett.cannon, ezio.melotti |
2013-02-26 21:38:25 | zach.ware | set | messageid: <1361914705.71.0.738486694226.issue17303@psf.upfronthosting.co.za> |
2013-02-26 21:38:25 | zach.ware | link | issue17303 messages |
2013-02-26 21:38:25 | zach.ware | create | |
|