diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-03-25 12:26:07 +0000 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-03-25 12:26:07 +0000 |
commit | adc3691c214825c5f50d0bb3a52e6e126acf3e67 (patch) | |
tree | 06ffe27d5c47755724befe1219aeb5125c687144 /Python/Python-ast.c | |
parent | 5338f05be3ed7cbb7668533db05dccf9dc5e7f35 (diff) | |
download | cpython-git-adc3691c214825c5f50d0bb3a52e6e126acf3e67.tar.gz |
Merged revisions 79420 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r79420 | victor.stinner | 2010-03-25 13:24:38 +0100 (jeu., 25 mars 2010) | 10 lines
Fix my test introduced in test_sys by r79394:
Restore the orginal filesystem encoding before testing
assertRaises(LookupError, sys.setfilesystemencoding, "xxx"). Unittest formats
the exception, but the formatting failed because the file system was invalid
(set to iso-8859-1 by the previous test).
Anyway, ensure to restore the original filesystem encoding when exiting
test_setfilesystemencoding() to avoid error propagation to the other tests.
........
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions