summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test/test_queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bsddb/test/test_queue.py')
-rw-r--r--Lib/bsddb/test/test_queue.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/bsddb/test/test_queue.py b/Lib/bsddb/test/test_queue.py
index 6a92834..e651193 100644
--- a/Lib/bsddb/test/test_queue.py
+++ b/Lib/bsddb/test/test_queue.py
@@ -9,7 +9,7 @@ import unittest
from bsddb import db
-from test.test_support import verbose
+from test_all import verbose
#----------------------------------------------------------------------
@@ -84,8 +84,8 @@ class SimpleQueueTestCase(unittest.TestCase):
pprint(d.stat())
assert len(d) == 0, \
- "if you see this message then you need to rebuild BerkeleyDB 3.1.17 "\
- "with the patch in patches/qam_stat.diff"
+ "if you see this message then you need to rebuild " \
+ "BerkeleyDB 3.1.17 with the patch in patches/qam_stat.diff"
d.close()
@@ -160,9 +160,9 @@ class SimpleQueueTestCase(unittest.TestCase):
#----------------------------------------------------------------------
-def suite():
+def test_suite():
return unittest.makeSuite(SimpleQueueTestCase)
if __name__ == '__main__':
- unittest.main( defaultTest='suite' )
+ unittest.main(defaultTest='test_suite')