Commit 67c99cfc authored by Kevin Modzelewski's avatar Kevin Modzelewski

Fix doctest_test.py

parent 0d80aecd
......@@ -869,13 +869,11 @@ static int half_cmp(PyObject* v, PyObject* w) noexcept {
args = PyTuple_Pack(1, w);
if (args == NULL) {
Py_DECREF(cmp_func);
return -2;
}
result = PyEval_CallObject(cmp_func, args);
Py_DECREF(args);
Py_DECREF(cmp_func);
if (result == NULL)
return -2;
......
# expected: reffail
# requires:
# - code.co_firstlineno
# - sys.dysplayhook
......
# expected: reffail
# should_error
class BadException(Exception):
def __str__(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment