summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-12-31 19:27:45 (GMT)
committerBarry Warsaw <barry@python.org>2002-12-31 19:27:45 (GMT)
commitb1dcbd223e7a3d13c3cdbc57f4c88793d8b646ef (patch)
treee0955efd90c10b62e555b444f01db1203fd6cad1 /Lib/bsddb/test
parentf15fb2926b7377ccfb9d20e460135a01ef776f10 (diff)
downloadcpython-b1dcbd223e7a3d13c3cdbc57f4c88793d8b646ef.zip
cpython-b1dcbd223e7a3d13c3cdbc57f4c88793d8b646ef.tar.gz
cpython-b1dcbd223e7a3d13c3cdbc57f4c88793d8b646ef.tar.bz2
Make two tests non-locale-dependent
Diffstat (limited to 'Lib/bsddb/test')
-rw-r--r--Lib/bsddb/test/test_recno.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/bsddb/test/test_recno.py b/Lib/bsddb/test/test_recno.py
index a46dd91..b3a999e 100644
--- a/Lib/bsddb/test/test_recno.py
+++ b/Lib/bsddb/test/test_recno.py
@@ -31,7 +31,7 @@ class SimpleRecnoTestCase(unittest.TestCase):
d = db.DB()
d.open(self.filename, db.DB_RECNO, db.DB_CREATE)
- for x in string.letters:
+ for x in string.ascii_letters:
recno = d.append(x * 60)
assert type(recno) == type(0)
assert recno >= 1
@@ -228,7 +228,7 @@ class SimpleRecnoTestCase(unittest.TestCase):
d.set_re_pad(45) # ...test both int and char
d.open(self.filename, db.DB_RECNO, db.DB_CREATE)
- for x in string.letters:
+ for x in string.ascii_letters:
d.append(x * 35) # These will be padded
d.append('.' * 40) # this one will be exact