The decode is used to workaround this:

http://mail.python.org/pipermail/python-3000/2008-September/014709.html
This commit is contained in:
Jesus Cea 2008-09-03 20:23:47 +00:00
parent fff953048f
commit d6a6d3fcff
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,9 @@ def test_main():
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.',