summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_set.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_set.py')
-rw-r--r--Lib/test/test_set.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py
index ee570f0..df72fb2 100644
--- a/Lib/test/test_set.py
+++ b/Lib/test/test_set.py
@@ -265,7 +265,7 @@ class TestJointOps(unittest.TestCase):
self.assertEqual(repr(s), '{set(...)}')
else:
name = repr(s).partition('(')[0] # strip class name
- self.assertEqual(repr(s), '%s([%s(...)])' % (name, name))
+ self.assertEqual(repr(s), '%s({%s(...)})' % (name, name))
def test_cyclical_print(self):
w = ReprWrapper()