def test_unknown(self):
        """
        The repr of a L{dns.UnknownRecord} instance includes the data and ttl
        fields of the record.
        """
        self.assertEqual(
            repr(dns.UnknownRecord(b"foo\x1fbar", 12)),
            "<UNKNOWN data='foo\\x1fbar' ttl=12>")

        The repr of a L{dns.UnknownRecord} instance includes the data and ttl
        fields of the record.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/test/test_dns.py