summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test/test_basics.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2007-08-22 19:23:36 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2007-08-22 19:23:36 (GMT)
commit0e6012cbf3ce7a5e716ed55f4941b910d9a9c2f9 (patch)
tree4c9e698b99fde4b749decc83948c77137e50e680 /Lib/bsddb/test/test_basics.py
parentea03c11655dbe5a421e3ad342039c721bceeb096 (diff)
downloadcpython-0e6012cbf3ce7a5e716ed55f4941b910d9a9c2f9.zip
cpython-0e6012cbf3ce7a5e716ed55f4941b910d9a9c2f9.tar.gz
cpython-0e6012cbf3ce7a5e716ed55f4941b910d9a9c2f9.tar.bz2
Eat some low hanging fruit... let the test suite run.
Diffstat (limited to 'Lib/bsddb/test/test_basics.py')
-rw-r--r--Lib/bsddb/test/test_basics.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/bsddb/test/test_basics.py b/Lib/bsddb/test/test_basics.py
index 4f8eaea..7bfe03b 100644
--- a/Lib/bsddb/test/test_basics.py
+++ b/Lib/bsddb/test/test_basics.py
@@ -23,7 +23,7 @@ except ImportError:
from .test_all import verbose
DASH = b'-'
-
+letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
#----------------------------------------------------------------------
@@ -886,7 +886,7 @@ class BasicMultiDBTestCase(BasicTestCase):
x = x.encode("ascii")
d2.put(x, self.makeData(x))
- for x in string.letters:
+ for x in letters:
x = x.encode("ascii")
d3.put(x, x*70)
@@ -942,6 +942,7 @@ class BasicMultiDBTestCase(BasicTestCase):
c2.close()
c3.close()
+ d1.close()
d2.close()
d3.close()