]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
finish comment
authorBob Halley <halley@dnspython.org>
Sun, 3 May 2020 13:59:02 +0000 (06:59 -0700)
committerBob Halley <halley@dnspython.org>
Sun, 3 May 2020 13:59:02 +0000 (06:59 -0700)
tests/test_rdata.py

index 3c5a9eeb9cc4f0c7dcd766a767f75c919372958f..c41758c78606904524bb9c649170b48cb5d4781d 100644 (file)
@@ -98,7 +98,8 @@ class RdataTestCase(unittest.TestCase):
                                     '"foo\\226\\128\\139bar"')
         self.assertEqual(str(rdata), '"foo\\226\\128\\139bar"')
         # Our fix for TXT-like records uses a new tokenizer method,
-        # unescape_to_bytes(), which both interprets 
+        # unescape_to_bytes(), which converts Unicode to UTF-8 only
+        # once.
         rdata = dns.rdata.from_text(dns.rdataclass.IN, dns.rdatatype.TXT,
                                     '"foo\u200b\\123bar"')
         self.assertEqual(str(rdata), '"foo\\226\\128\\139{bar"')