Change the repr() of frozenset instances (and set subclasses)
from name([e1, e2, ...]) to name({e1, e2, ...}).
This makes more sense now we have the set notation.
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 @@
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()