]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backport:
authorAnthony Baxter <anthonybaxter@gmail.com>
Tue, 20 Sep 2005 15:17:16 +0000 (15:17 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Tue, 20 Sep 2005 15:17:16 +0000 (15:17 +0000)
commit523263d4436dc025db66be5b4e40ae3f26050ee9
tree90ab13d57f575d335666eb582ee8a80f86a297de
parentd8b9721d0debee0c26fd42bdae64da7896f7f443
backport:
test_default_encoding_issues():  Fully restore sys.setdefaultencoding.

test_site often failed under "regrtest.py -r", because this xmlrpc test
left sys with a setdefaultencoding attribute, but loading site.py removes
that attribute and test_site.py verifies the attribute is gone.  Changed
this test to get rid of sys.setdefaultencoding if it didn't exist when
this test started.
Lib/test/test_xmlrpc.py