[issue17767] Fix test discovery for test_locale.py

2013-07-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17767 ___

[issue17767] Fix test discovery for test_locale.py

2013-07-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3b883491a5f2 by Serhiy Storchaka in branch '3.3': Issue #17767: test_locale now works with unittest test discovery. http://hg.python.org/cpython/rev/3b883491a5f2 New changeset 60e72210683c by Serhiy Storchaka in branch 'default': Issue #17767:

[issue17767] Fix test discovery for test_locale.py

2013-07-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I combined two last Zachary's patches and added more robust locale test cleanup (old locale now restored even when print() in setUp() will failed). Thank you for your patch Zachary. -- resolution: - fixed stage: patch review - committed/rejected

[issue17767] Fix test discovery for test_locale.py

2013-07-03 Thread Zachary Ware
Zachary Ware added the comment: Here's a new patch addressing Serhiy's Rietveld comment. This patch also includes the addition of 'flush=True' to the verbose print in BaseLocalizedTest.setUp to make output look a little nicer. -- Added file:

[issue17767] Fix test discovery for test_locale.py

2013-06-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17767 ___ ___

[issue17767] Fix test discovery for test_locale.py

2013-06-17 Thread Zachary Ware
Zachary Ware added the comment: Looking at this one again, I missed removing the run_unittest import. Here's a new patch. -- Added file: http://bugs.python.org/file30631/test_locale_discovery.v2.diff ___ Python tracker rep...@bugs.python.org

[issue17767] Fix test discovery for test_locale.py

2013-04-16 Thread Zachary Ware
New submission from Zachary Ware: This one actually had Failures rather than Errors; those failures arose from enUS_locale being None because it was being changed in test_main. This patch attempts to fix things by adapting get_enUS_locale() to return a tuple of a suitable setting for