summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bsddb')
-rw-r--r--Lib/bsddb/test/test_basics.py1
-rw-r--r--Lib/bsddb/test/test_compat.py2
-rw-r--r--Lib/bsddb/test/test_cursor_pget_bug.py2
-rw-r--r--Lib/bsddb/test/test_dbobj.py2
-rw-r--r--Lib/bsddb/test/test_dbshelve.py3
-rw-r--r--Lib/bsddb/test/test_dbtables.py2
-rw-r--r--Lib/bsddb/test/test_env_close.py1
-rw-r--r--Lib/bsddb/test/test_get_none.py3
-rw-r--r--Lib/bsddb/test/test_join.py4
-rw-r--r--Lib/bsddb/test/test_lock.py3
-rw-r--r--Lib/bsddb/test/test_misc.py1
-rw-r--r--Lib/bsddb/test/test_pickle.py2
-rw-r--r--Lib/bsddb/test/test_queue.py2
-rw-r--r--Lib/bsddb/test/test_recno.py1
-rw-r--r--Lib/bsddb/test/test_sequence.py3
-rw-r--r--Lib/bsddb/test/test_thread.py1
16 files changed, 9 insertions, 24 deletions
diff --git a/Lib/bsddb/test/test_basics.py b/Lib/bsddb/test/test_basics.py
index c027ada..6d0fff1 100644
--- a/Lib/bsddb/test/test_basics.py
+++ b/Lib/bsddb/test/test_basics.py
@@ -4,7 +4,6 @@ various DB flags, etc.
"""
import os
-import sys
import errno
import shutil
import string
diff --git a/Lib/bsddb/test/test_compat.py b/Lib/bsddb/test/test_compat.py
index b108db4..bc165cf 100644
--- a/Lib/bsddb/test/test_compat.py
+++ b/Lib/bsddb/test/test_compat.py
@@ -3,7 +3,7 @@ Test cases adapted from the test_bsddb.py module in Python's
regression test suite.
"""
-import sys, os, string
+import os, string
import unittest
import tempfile
diff --git a/Lib/bsddb/test/test_cursor_pget_bug.py b/Lib/bsddb/test/test_cursor_pget_bug.py
index 2f72b11..2e83a6c 100644
--- a/Lib/bsddb/test/test_cursor_pget_bug.py
+++ b/Lib/bsddb/test/test_cursor_pget_bug.py
@@ -1,6 +1,6 @@
import unittest
import tempfile
-import sys, os, glob
+import os, glob
try:
# For Pythons w/distutils pybsddb
diff --git a/Lib/bsddb/test/test_dbobj.py b/Lib/bsddb/test/test_dbobj.py
index 6086d77..dd9909d 100644
--- a/Lib/bsddb/test/test_dbobj.py
+++ b/Lib/bsddb/test/test_dbobj.py
@@ -1,5 +1,5 @@
-import sys, os, string
+import os, string
import unittest
import glob
import tempfile
diff --git a/Lib/bsddb/test/test_dbshelve.py b/Lib/bsddb/test/test_dbshelve.py
index ddc05d5..bd399a4 100644
--- a/Lib/bsddb/test/test_dbshelve.py
+++ b/Lib/bsddb/test/test_dbshelve.py
@@ -2,9 +2,8 @@
TestCases for checking dbShelve objects.
"""
-import sys, os, string
+import os, string
import tempfile, random
-from pprint import pprint
from types import *
import unittest
diff --git a/Lib/bsddb/test/test_dbtables.py b/Lib/bsddb/test/test_dbtables.py
index 3a401e3..0c9cf5f 100644
--- a/Lib/bsddb/test/test_dbtables.py
+++ b/Lib/bsddb/test/test_dbtables.py
@@ -20,7 +20,7 @@
#
# $Id$
-import sys, os, re
+import os, re
import tempfile
import shutil
try:
diff --git a/Lib/bsddb/test/test_env_close.py b/Lib/bsddb/test/test_env_close.py
index 5738feb..efc3460 100644
--- a/Lib/bsddb/test/test_env_close.py
+++ b/Lib/bsddb/test/test_env_close.py
@@ -3,7 +3,6 @@ is closed before its DB objects.
"""
import os
-import sys
import tempfile
import glob
import unittest
diff --git a/Lib/bsddb/test/test_get_none.py b/Lib/bsddb/test/test_get_none.py
index 5f09cec..d6454cc 100644
--- a/Lib/bsddb/test/test_get_none.py
+++ b/Lib/bsddb/test/test_get_none.py
@@ -2,9 +2,8 @@
TestCases for checking set_get_returns_none.
"""
-import sys, os, string
+import os, string
import tempfile
-from pprint import pprint
import unittest
try:
diff --git a/Lib/bsddb/test/test_join.py b/Lib/bsddb/test/test_join.py
index 731f33a..26c2912 100644
--- a/Lib/bsddb/test/test_join.py
+++ b/Lib/bsddb/test/test_join.py
@@ -1,10 +1,8 @@
"""TestCases for using the DB.join and DBCursor.join_item methods.
"""
-import sys, os, string
+import os
import tempfile
-import time
-from pprint import pprint
try:
from threading import Thread, currentThread
diff --git a/Lib/bsddb/test/test_lock.py b/Lib/bsddb/test/test_lock.py
index e0d831f..18469a1 100644
--- a/Lib/bsddb/test/test_lock.py
+++ b/Lib/bsddb/test/test_lock.py
@@ -2,10 +2,7 @@
TestCases for testing the locking sub-system.
"""
-import os
-from pprint import pprint
import shutil
-import sys
import tempfile
import time
diff --git a/Lib/bsddb/test/test_misc.py b/Lib/bsddb/test/test_misc.py
index ef9c0aa..3d566f1 100644
--- a/Lib/bsddb/test/test_misc.py
+++ b/Lib/bsddb/test/test_misc.py
@@ -2,7 +2,6 @@
"""
import os
-import sys
import unittest
import tempfile
diff --git a/Lib/bsddb/test/test_pickle.py b/Lib/bsddb/test/test_pickle.py
index ef84a40..b87cc68 100644
--- a/Lib/bsddb/test/test_pickle.py
+++ b/Lib/bsddb/test/test_pickle.py
@@ -1,5 +1,5 @@
-import sys, os, string
+import os
import pickle
try:
import cPickle
diff --git a/Lib/bsddb/test/test_queue.py b/Lib/bsddb/test/test_queue.py
index 95cf20d..1acf35a 100644
--- a/Lib/bsddb/test/test_queue.py
+++ b/Lib/bsddb/test/test_queue.py
@@ -2,7 +2,7 @@
TestCases for exercising a Queue DB.
"""
-import sys, os, string
+import os, string
import tempfile
from pprint import pprint
import unittest
diff --git a/Lib/bsddb/test/test_recno.py b/Lib/bsddb/test/test_recno.py
index 4b36a40..9630db1 100644
--- a/Lib/bsddb/test/test_recno.py
+++ b/Lib/bsddb/test/test_recno.py
@@ -2,7 +2,6 @@
"""
import os
-import sys
import errno
import tempfile
from pprint import pprint
diff --git a/Lib/bsddb/test/test_sequence.py b/Lib/bsddb/test/test_sequence.py
index 239e8ee..d7029e5 100644
--- a/Lib/bsddb/test/test_sequence.py
+++ b/Lib/bsddb/test/test_sequence.py
@@ -1,6 +1,5 @@
import unittest
import os
-import sys
import tempfile
import glob
@@ -10,8 +9,6 @@ try:
except ImportError:
from bsddb import db
-from test_all import verbose
-
class DBSequenceTest(unittest.TestCase):
def setUp(self):
diff --git a/Lib/bsddb/test/test_thread.py b/Lib/bsddb/test/test_thread.py
index 9c87db4..d14f6da 100644
--- a/Lib/bsddb/test/test_thread.py
+++ b/Lib/bsddb/test/test_thread.py
@@ -7,7 +7,6 @@ import time
import errno
import shutil
import tempfile
-from pprint import pprint
from random import random
try: