summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_set.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-03-13 00:19:17 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-03-13 00:19:17 (GMT)
commit08b36bdab44eaf6fb041780f6be967105e8c722c (patch)
tree550abef45d8b5edf9f26b51441928c65a22c1c4d /Lib/test/test_set.py
parent6540a82a40d3a8da418318b9e8a6d090f35a5a92 (diff)
downloadcpython-08b36bdab44eaf6fb041780f6be967105e8c722c.zip
cpython-08b36bdab44eaf6fb041780f6be967105e8c722c.tar.gz
cpython-08b36bdab44eaf6fb041780f6be967105e8c722c.tar.bz2
Merged revisions 78886 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78886 | victor.stinner | 2010-03-13 01:13:22 +0100 (sam., 13 mars 2010) | 2 lines Issue #7818: set().test_c_api() doesn't expect a set('abc'), modify the set. ........
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 26977d9..194bbff 100644
--- a/Lib/test/test_set.py
+++ b/Lib/test/test_set.py
@@ -607,7 +607,7 @@ class TestSet(TestJointOps):
# C API test only available in a debug build
if hasattr(set, "test_c_api"):
def test_c_api(self):
- self.assertEqual(set('abc').test_c_api(), True)
+ self.assertEqual(set().test_c_api(), True)
class SetSubclass(set):
pass