[Patches] [ python-Patches-1008588 ] Let test__locale save locale (bug #992078)

SourceForge.net noreply at sourceforge.net
Sat Aug 14 12:04:50 CEST 2004


Patches item #1008588, was opened at 2004-08-13 11:07
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1008588&group_id=5470

Category: Tests
Group: Python 2.4
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Johannes Gijsbers (jlgijsbers)
>Assigned to: Johannes Gijsbers (jlgijsbers)
Summary: Let test__locale save locale (bug #992078)

Initial Comment:
test__locale is not resetting the locale after running
the tests. This patch saves and then restores the old
locale. It is mostly similar to
http://python.org/sf/1007539: : I just wrapped the
block from 'saw_locale' to 'raise ImportError' in a
try: finally: block and used LC_NUMERIC instead of LC_ALL.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2004-08-14 12:04

Message:
Logged In: YES 
user_id=21627

The patch is fine. Please apply.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1008588&group_id=5470


More information about the Patches mailing list