mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Fix str() and repr() of empty sets.
This commit is contained in:
parent
b3fa66fe30
commit
c4996ba794
2 changed files with 16 additions and 5 deletions
|
@ -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()"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue