mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
locale-restoration code: Don't leave comparison to None implicit. For
all I know, the original locale may be '' (I don't think that's possible, but ...), and if so we would certainly want to restore it.
This commit is contained in:
parent
36f7e938f2
commit
9390dd5b4a
2 changed files with 2 additions and 2 deletions
|
|
@ -331,7 +331,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=0, generate=0,
|
|||
else:
|
||||
os.unlink(filename)
|
||||
|
||||
sys.exit(len(bad) > 0)
|
||||
#sys.exit(len(bad) > 0)
|
||||
|
||||
|
||||
STDTESTS = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue