Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17767
___
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:
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
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:
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17767
___
___
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
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