Update test code for change to PySet_Add().
This commit is contained in:
parent
b423f02aa5
commit
d375723365
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue