mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Update test code for change to PySet_Add().
This commit is contained in:
parent
b423f02aa5
commit
d375723365
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue