Skip to content

Commit 2442857

Browse files
committed
Fix test_string_to_double()
1 parent 3593b77 commit 2442857

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/_testcapi/float.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ test_string_to_double(PyObject *self, PyObject *Py_UNUSED(ignored))
151151
Py_RETURN_NONE;
152152
fail:
153153
PyErr_Format(PyExc_AssertionError, "test_string_to_double: %s", msg);
154+
return NULL;
154155
#undef CHECK_STRING
155156
#undef CHECK_INVALID
156157
}

0 commit comments

Comments
 (0)