summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2008-09-03 20:23:47 (GMT)
committerJesus Cea <jcea@jcea.es>2008-09-03 20:23:47 (GMT)
commitd6a6d3fcff3738038a4bba209898460144b8a228 (patch)
tree03ffecc476a83df5d199a0097273903269b407ae /Lib
parentfff953048f965b4f0a56f775d3f4ce1634df3da7 (diff)
downloadcpython-d6a6d3fcff3738038a4bba209898460144b8a228.zip
cpython-d6a6d3fcff3738038a4bba209898460144b8a228.tar.gz
cpython-d6a6d3fcff3738038a4bba209898460144b8a228.tar.bz2
The decode is used to workaround this:
http://mail.python.org/pipermail/python-3000/2008-September/014709.html
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_bsddb3.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_bsddb3.py b/Lib/test/test_bsddb3.py
index 8bba169..41d0e21 100644
--- a/Lib/test/test_bsddb3.py
+++ b/Lib/test/test_bsddb3.py
@@ -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.',