Skip to content

Commit d6a6d3f

Browse files
committed
1 parent fff9530 commit d6a6d3f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_bsddb3.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ def test_main():
5757
os.getpid()))
5858
# Please leave this print in, having this show up in the buildbots
5959
# makes diagnosing problems a lot easier.
60-
print(db.DB_VERSION_STRING, file=sys.stderr)
60+
# The decode is used to workaround this:
61+
# http://mail.python.org/pipermail/python-3000/2008-September/014709.html
62+
print(db.DB_VERSION_STRING.decode("iso8859-1"), file=sys.stderr)
6163
print('Test path prefix: ', test_all.get_test_path_prefix(), file=sys.stderr)
6264
try:
6365
run_unittest(test_all.suite(module_prefix='bsddb.test.',

0 commit comments

Comments
 (0)