[Python-checkins] python/dist/src/Lib/bsddb/test test_basics.py,
1.7.6.1, 1.7.6.2
greg at users.sourceforge.net
greg at users.sourceforge.net
Sat May 15 17:37:37 EDT 2004
Update of /cvsroot/python/python/dist/src/Lib/bsddb/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17494
Modified Files:
Tag: release23-maint
test_basics.py
Log Message:
Remove the offending added bit of a test case that doesn't apply to
the python 2.3.x branch as the bsddb.set_get_returns_none() default
behaviour is different than on 2.4 and leter. (yes a correct test
case for this branch could be written; removing this bad test gets
things not-failing fastest)
Index: test_basics.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/bsddb/test/test_basics.py,v
retrieving revision 1.7.6.1
retrieving revision 1.7.6.2
diff -C2 -d -r1.7.6.1 -r1.7.6.2
*** test_basics.py 26 Feb 2004 10:21:13 -0000 1.7.6.1
--- test_basics.py 15 May 2004 21:37:34 -0000 1.7.6.2
***************
*** 373,381 ****
if rec[1] != '': self.fail('expected empty data portion')
- ev = c.set_range('empty value')
- if verbose:
- print "search for 'empty value' returned", ev
- if ev[1] != '': self.fail('empty value lookup failed')
-
c.set('0499')
c.delete()
--- 373,376 ----
More information about the Python-checkins
mailing list