(self)
| 50 | self.assertEqual(token, Token(dns.tokenizer.QUOTED_STRING, "foo\\010bar")) |
| 51 | |
| 52 | def testQuotedString5(self): |
| 53 | with self.assertRaises(dns.exception.UnexpectedEnd): |
| 54 | tok = dns.tokenizer.Tokenizer(r'"foo') |
| 55 | tok.get() |
| 56 | |
| 57 | def testQuotedString6(self): |
| 58 | with self.assertRaises(dns.exception.SyntaxError): |