[Python-checkins] r60311 - python/trunk/Objects/setobject.c
raymond.hettinger
python-checkins at python.org
Sat Jan 26 09:41:14 CET 2008
Author: raymond.hettinger
Date: Sat Jan 26 09:41:13 2008
New Revision: 60311
Modified:
python/trunk/Objects/setobject.c
Log:
Update test code for change to PySet_Add().
Modified: python/trunk/Objects/setobject.c
==============================================================================
--- python/trunk/Objects/setobject.c (original)
+++ python/trunk/Objects/setobject.c Sat Jan 26 09:41:13 2008
@@ -2341,7 +2341,6 @@
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);
More information about the Python-checkins
mailing list