From: Gregory P. Smith Date: Sat, 15 May 2004 21:37:34 +0000 (+0000) Subject: Remove the offending added bit of a test case that doesn't apply to X-Git-Tag: v2.3.4~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=400363004eebd153cc1403acf37ab93340673b7f;p=thirdparty%2FPython%2Fcpython.git 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) --- diff --git a/Lib/bsddb/test/test_basics.py b/Lib/bsddb/test/test_basics.py index 97b2549f9722..cabc723dc023 100644 --- a/Lib/bsddb/test/test_basics.py +++ b/Lib/bsddb/test/test_basics.py @@ -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: