From 4d574654444ec28870868dfe5addac1870a9469c Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sun, 11 Aug 2019 14:19:25 -0700 Subject: [PATCH] oops, fix test_describe on py2 --- src/wormhole/test/dilate/test_connector.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wormhole/test/dilate/test_connector.py b/src/wormhole/test/dilate/test_connector.py index 9c4134e..472a8bd 100644 --- a/src/wormhole/test/dilate/test_connector.py +++ b/src/wormhole/test/dilate/test_connector.py @@ -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)