Update test code for change to PySet_Add().

This commit is contained in:
Raymond Hettinger 2008-01-26 08:41:13 +00:00
parent b423f02aa5
commit d375723365
1 changed files with 0 additions and 1 deletions

View File

@ -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);