oops, fix test_describe on py2

This commit is contained in:
Brian Warner 2019-08-11 14:19:25 -07:00
parent 16b6245f44
commit 4d57465444

View File

@ -471,4 +471,5 @@ class Describe(unittest.TestCase):
"<-tcp:1.2.3.4:1234")
self.assertEqual(describe_inbound(IPv6Address("TCP", "::1", 1234)),
"<-tcp:[::1]:1234")
self.assertEqual(describe_inbound("none-of-the-above"), "<-'none-of-the-above'")
other = "none-of-the-above"
self.assertEqual(describe_inbound(other), "<-%r" % other)