def test_strip_comments(self): # Assert strip <!-- --> elements. v = web.strip_comments(" <!-- text --> ") self.assertEqual(v, " ") print "pattern.web.strip_comments()"