def test_p_wx_newline_implicit_linefeed_space_3(self): self.check_parse_spec(p_wx_newline((3 * ' ')))
def test_p_wx_newline_implicit_linefeed__None(self): self.check_parse_spec(p_wx_newline(None))
def test_p_wx_newline__exception__extra_linefeed(self): with self.assertRaises(ValueError): p_wx_newline(' ' + (common.LINEFEED * 2)) assert False, "ValueError not raised !"
def test_p_wx_newline_space_5(self): self.check_parse_spec(p_wx_newline((5 * ' ') + common.LINEFEED))
def test_p_wx_newline__exception__lf_in_middle(self): with self.assertRaises(ValueError): p_wx_newline(' ' + (common.LINEFEED + ' ')) assert False, "ValueError not raised !"