]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove the offending added bit of a test case that doesn't apply to
authorGregory P. Smith <greg@mad-scientist.com>
Sat, 15 May 2004 21:37:34 +0000 (21:37 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sat, 15 May 2004 21:37:34 +0000 (21:37 +0000)
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)

Lib/bsddb/test/test_basics.py

index 97b2549f9722ff00248496fb7287183fbc61ad6f..cabc723dc023c847e0b34877687717981c33ad69 100644 (file)
@@ -372,11 +372,6 @@ class BasicTestCase(unittest.TestCase):
                 print "searched (partial) for '011', found: ", rec
             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()
         try: