Fix str() and repr() of empty sets.

This commit is contained in:
Georg Brandl 2006-08-28 19:37:11 +00:00
parent b3fa66fe30
commit c4996ba794
2 changed files with 16 additions and 5 deletions

View file

@ -631,7 +631,7 @@ class TestBasicOpsEmpty(TestBasicOps):
self.set = set(self.values)
self.dup = set(self.values)
self.length = 0
self.repr = "{}"
self.repr = "set()"
#------------------------------------------------------------------------------