Searched refs:ConsumeComment (Results 1 – 2 of 2) sorted by relevance
1325 self.assertRaises(text_format.ParseError, tokenizer.ConsumeComment)1331 self.assertEqual('# some comment', tokenizer.ConsumeComment())1337 self.assertEqual('# some comment', tokenizer.ConsumeComment())1339 self.assertEqual('# another comment', tokenizer.ConsumeComment())1345 self.assertRaises(text_format.ParseError, tokenizer.ConsumeComment)1350 self.assertRaises(text_format.ParseError, tokenizer.ConsumeComment)1354 self.assertEqual('# some comment', tokenizer.ConsumeComment())
1021 def ConsumeComment(self): member in Tokenizer