Kaydet (Commit) c7951956 authored tarafından Tim Peters's avatar Tim Peters

Open binary files in binary mode. Fixes test failure under Windows.

üst 124af7cf
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment