summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test/test_dbtables.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bsddb/test/test_dbtables.py')
-rw-r--r--Lib/bsddb/test/test_dbtables.py4
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