diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2008-08-19 21:01:52 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2008-08-19 21:01:52 (GMT) |
commit | 53a2bb447e3d4b37a128ba62e0a43d720db1d4f7 (patch) | |
tree | 161204041a1e48613f1c52fcedf6ff105deae5cb /Lib/bsddb | |
parent | 2d735bc09876e8216bf6708bb598923e07a2ac4b (diff) | |
download | cpython-53a2bb447e3d4b37a128ba62e0a43d720db1d4f7.zip cpython-53a2bb447e3d4b37a128ba62e0a43d720db1d4f7.tar.gz cpython-53a2bb447e3d4b37a128ba62e0a43d720db1d4f7.tar.bz2 |
Fix a failure in bsddb tests, following the changes in regular expression semantics
Diffstat (limited to 'Lib/bsddb')
-rw-r--r-- | Lib/bsddb/test/test_dbtables.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/bsddb/test/test_dbtables.py b/Lib/bsddb/test/test_dbtables.py index 061a731..fdec618 100644 --- a/Lib/bsddb/test/test_dbtables.py +++ b/Lib/bsddb/test/test_dbtables.py @@ -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 |