Kaydet (Commit) 53a2bb44 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

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

üst 2d735bc0
......@@ -173,8 +173,8 @@ class TableDBTestCase(unittest.TestCase):
# 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment