'Test discarding a string.'

def test_discard(self):

    regex_set = RegexSet.from_namespaces(['db.bar'])
    self.assertTrue(('db.bar' in regex_set))
    regex_set.discard('db.bar')
    self.assertFalse(('db.bar' in regex_set))
