[Python-3000-checkins] r66188 - python/branches/py3k/Lib/test/test_bsddb3.py

jesus.cea python-3000-checkins at python.org
Wed Sep 3 22:23:47 CEST 2008


Author: jesus.cea
Date: Wed Sep  3 22:23:47 2008
New Revision: 66188

Log:
The decode is used to workaround this:
http://mail.python.org/pipermail/python-3000/2008-September/014709.html



Modified:
   python/branches/py3k/Lib/test/test_bsddb3.py

Modified: python/branches/py3k/Lib/test/test_bsddb3.py
==============================================================================
--- python/branches/py3k/Lib/test/test_bsddb3.py	(original)
+++ python/branches/py3k/Lib/test/test_bsddb3.py	Wed Sep  3 22:23:47 2008
@@ -57,7 +57,9 @@
                                  os.getpid()))
     # Please leave this print in, having this show up in the buildbots
     # makes diagnosing problems a lot easier.
-    print(db.DB_VERSION_STRING, file=sys.stderr)
+    # The decode is used to workaround this:
+    # http://mail.python.org/pipermail/python-3000/2008-September/014709.html
+    print(db.DB_VERSION_STRING.decode("iso8859-1"), file=sys.stderr)
     print('Test path prefix: ', test_all.get_test_path_prefix(), file=sys.stderr)
     try:
         run_unittest(test_all.suite(module_prefix='bsddb.test.',


More information about the Python-3000-checkins mailing list