def test_string_match(s): s.assertMatches(string_matching('^f'), 'boo', 'message')
def test_string_match(s): s.assertMatches(string_matching('^f'), 'foo')