diff options
| author | Barry Warsaw <barry@python.org> | 2006-03-30 22:45:35 (GMT) | 
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 2006-03-30 22:45:35 (GMT) | 
| commit | 176014ffad8d39820293b63bf7177a7d2953343a (patch) | |
| tree | f1a112b22c88952a952794d390291ec54a0818d1 /Lib/test/test_set.py | |
| parent | c259cc9c4c1c90efaeace2c9786786a5813cf950 (diff) | |
| download | cpython-176014ffad8d39820293b63bf7177a7d2953343a.zip cpython-176014ffad8d39820293b63bf7177a7d2953343a.tar.gz cpython-176014ffad8d39820293b63bf7177a7d2953343a.tar.bz2  | |
SF patch #1458476 with modifications based on discussions in python-dev.  This
adds the following API calls: PySet_Clear(), _PySet_Next(), and
_PySet_Update().  The latter two are considered non-public.  Tests and
documentation (for the public API) are included.
Diffstat (limited to 'Lib/test/test_set.py')
| -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 6ff1215..1a2cdda 100644 --- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py @@ -421,7 +421,7 @@ class TestSet(TestJointOps):          self.assertRaises(ReferenceError, str, p)      # C API test only available in a debug build -    if hasattr(sys, "gettotalrefcount"): +    if hasattr(set, "test_c_api"):          def test_c_api(self):              self.assertEqual(set('abc').test_c_api(), True)  | 
