Antoine Pitrou  committed ef19558

Fix a failure in bsddb tests, following the changes in regular expression semantics

  • Participants
  • Parent commits 6abada0
  • Branches default

Comments (0)

Files changed (1)

File Lib/bsddb/test/

         # this should return two rows
         values = self.tdb.Select(tabname, ['b', 'a', 'd'],
-            conditions={'e': re.compile('wuzzy').search,
-                        'a': re.compile('^[0-9]+$').match})
+            conditions={'e': re.compile(b'wuzzy').search,
+                        'a': re.compile(b'^[0-9]+$').match})
         self.assertEquals(len(values), 2)
         # now lets delete one of them and try again