Message266340
I think it might be better to add a separate “import tokenize as tokenize_module”. Or just “import tokenize” inside the test function. IMO changing all the names adds too much churn with minimal benefit.
Maybe also should restore the “from unittest import . . .” line. But keep an “import unittest” line somewhere so the __main__ bit at the bottom works.
Perhaps it would be good to merge MiscTestCase into the existing TestMisc class. |
|
Date |
User |
Action |
Args |
2016-05-25 13:00:11 | martin.panter | set | recipients:
+ martin.panter, serhiy.storchaka, Unit03 |
2016-05-25 13:00:11 | martin.panter | set | messageid: <1464181211.47.0.874663152643.issue27112@psf.upfronthosting.co.za> |
2016-05-25 13:00:11 | martin.panter | link | issue27112 messages |
2016-05-25 13:00:11 | martin.panter | create | |
|