summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-01-26 08:41:13 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-01-26 08:41:13 (GMT)
commitd3757233659f85b5ddecb286341c34b75b711645 (patch)
treeba7e8e93fa409a3c44f785dedca17816f65ee545 /Objects
parentb423f02aa5650e8226fe9c90efbe7c2e204aae67 (diff)
downloadcpython-d3757233659f85b5ddecb286341c34b75b711645.zip
cpython-d3757233659f85b5ddecb286341c34b75b711645.tar.gz
cpython-d3757233659f85b5ddecb286341c34b75b711645.tar.bz2
Update test code for change to PySet_Add().
Diffstat (limited to 'Objects')
-rw-r--r--Objects/setobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 2556b74..8a5f7cf 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -2341,7 +2341,6 @@ test_c_api(PySetObject *so)
f = PyFrozenSet_New(dup);
assert(PySet_Size(f) == 3);
assert(PyFrozenSet_CheckExact(f));
- assertRaises(PySet_Add(f, elem) == -1, PyExc_SystemError);
assertRaises(PySet_Discard(f, elem) == -1, PyExc_SystemError);
assertRaises(PySet_Pop(f) == NULL, PyExc_SystemError);
Py_DECREF(f);