def test_re_delim(self):
    for i in [' ', '*']:
        self.db.set_re_delim(i)
        self.assertEqual(ord(i), self.db.get_re_delim())
    for i in [97, 65]:
        self.db.set_re_delim(i)
        self.assertEqual(i, self.db.get_re_delim())
def test_re_delim(self):
    for i in [' ', '*']:
        self.db.set_re_delim(i)
        self.assertEqual(ord(i), self.db.get_re_delim())
    for i in [97, 65]:
        self.db.set_re_delim(i)
        self.assertEqual(i, self.db.get_re_delim())