diff options
author | Georg Brandl <georg@python.org> | 2006-08-28 19:37:11 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-08-28 19:37:11 (GMT) |
commit | c4996ba794d9438be8e472ad5f6c3c55fbf751e8 (patch) | |
tree | cc1017f4d5a8f12da19566dc6a00e4b6728d9106 /Lib/test | |
parent | b3fa66fe30c66adbbd54588f390c4d332285880d (diff) | |
download | cpython-c4996ba794d9438be8e472ad5f6c3c55fbf751e8.zip cpython-c4996ba794d9438be8e472ad5f6c3c55fbf751e8.tar.gz cpython-c4996ba794d9438be8e472ad5f6c3c55fbf751e8.tar.bz2 |
Fix str() and repr() of empty sets.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_set.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py index 556e390..03621a6 100644 --- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py @@ -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()" #------------------------------------------------------------------------------ |