summaryrefslogtreecommitdiff
path: root/Lib/test/test_set.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-03-13 00:19:17 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-03-13 00:19:17 +0000
commitb5491fb1e1dfc73ebbe9dbd054efc73a526d056a (patch)
tree0b651629c2164d9437f098005d81108aecac6c0a /Lib/test/test_set.py
parente41c641e59f0ca1baa377d78f75d28bff4a6105f (diff)
downloadcpython-b5491fb1e1dfc73ebbe9dbd054efc73a526d056a.tar.gz
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 26977d9257..194bbffee2 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