diff options
author | Georg Brandl <georg@python.org> | 2009-06-04 09:42:55 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-06-04 09:42:55 +0000 |
commit | 706824f19f734e5e567f32d989376547c0ae08da (patch) | |
tree | 0cd5ff7ccc373a848f409b572f1bd1ae727fd8fe /Lib/test/test_gettext.py | |
parent | 3ed0deb9af03c3546ebe583c38ccfd0c5e364196 (diff) | |
download | cpython-706824f19f734e5e567f32d989376547c0ae08da.tar.gz cpython-706824f19f734e5e567f32d989376547c0ae08da.zip |
More codestring -> codebytes.
Diffstat (limited to 'Lib/test/test_gettext.py')
-rw-r--r-- | Lib/test/test_gettext.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_gettext.py b/Lib/test/test_gettext.py index e26b30a8994..0023941dd58 100644 --- a/Lib/test/test_gettext.py +++ b/Lib/test/test_gettext.py @@ -65,13 +65,13 @@ class GettextBaseTest(unittest.TestCase): if not os.path.isdir(LOCALEDIR): os.makedirs(LOCALEDIR) fp = open(MOFILE, 'wb') - fp.write(base64.decodestring(GNU_MO_DATA)) + fp.write(base64.decodebytes(GNU_MO_DATA)) fp.close() fp = open(UMOFILE, 'wb') - fp.write(base64.decodestring(UMO_DATA)) + fp.write(base64.decodebytes(UMO_DATA)) fp.close() fp = open(MMOFILE, 'wb') - fp.write(base64.decodestring(MMO_DATA)) + fp.write(base64.decodebytes(MMO_DATA)) fp.close() self.env = support.EnvironmentVarGuard() self.env['LANGUAGE'] = 'xx' |