diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_gettext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_gettext.py b/Lib/test/test_gettext.py index 5006fff..77a6e96 100644 --- a/Lib/test/test_gettext.py +++ b/Lib/test/test_gettext.py @@ -102,7 +102,7 @@ MOFILE = os.path.join(LOCALEDIR, 'gettext.mo') def setup(): os.makedirs(LOCALEDIR) - fp = open(MOFILE, 'w') + fp = open(MOFILE, 'wb') fp.write(base64.decodestring(GNU_MO_DATA)) fp.close() |