[Python-checkins] python/dist/src/Lib/bsddb/test test_recno.py,1.3,1.4

bwarsaw@users.sourceforge.net bwarsaw@users.sourceforge.net
Tue, 31 Dec 2002 11:27:47 -0800


Update of /cvsroot/python/python/dist/src/Lib/bsddb/test
In directory sc8-pr-cvs1:/tmp/cvs-serv13498

Modified Files:
	test_recno.py 
Log Message:
Make two tests non-locale-dependent


Index: test_recno.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/bsddb/test/test_recno.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** test_recno.py	30 Dec 2002 20:52:08 -0000	1.3
--- test_recno.py	31 Dec 2002 19:27:45 -0000	1.4
***************
*** 32,36 ****
          d.open(self.filename, db.DB_RECNO, db.DB_CREATE)
  
!         for x in string.letters:
              recno = d.append(x * 60)
              assert type(recno) == type(0)
--- 32,36 ----
          d.open(self.filename, db.DB_RECNO, db.DB_CREATE)
  
!         for x in string.ascii_letters:
              recno = d.append(x * 60)
              assert type(recno) == type(0)
***************
*** 229,233 ****
          d.open(self.filename, db.DB_RECNO, db.DB_CREATE)
  
!         for x in string.letters:
              d.append(x * 35)    # These will be padded
  
--- 229,233 ----
          d.open(self.filename, db.DB_RECNO, db.DB_CREATE)
  
!         for x in string.ascii_letters:
              d.append(x * 35)    # These will be padded