summaryrefslogtreecommitdiffstats
path: root/Lib/test/clinic.test
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2019-10-21 06:49:48 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-10-21 06:49:48 (GMT)
commita9ed91e6c2f0f1a9960b1382321918448228a801 (patch)
tree88fb78383fa04a76a6bea628301512f13379babb /Lib/test/clinic.test
parent919f0bc8c904d3aa13eedb2dd1fe9c6b0555a591 (diff)
downloadcpython-a9ed91e6c2f0f1a9960b1382321918448228a801.zip
cpython-a9ed91e6c2f0f1a9960b1382321918448228a801.tar.gz
cpython-a9ed91e6c2f0f1a9960b1382321918448228a801.tar.bz2
bpo-27961: Replace PY_LONG_LONG with long long. (GH-15386)
Diffstat (limited to 'Lib/test/clinic.test')
-rw-r--r--Lib/test/clinic.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/clinic.test b/Lib/test/clinic.test
index 0d84d5e..6ee9dc5 100644
--- a/Lib/test/clinic.test
+++ b/Lib/test/clinic.test
@@ -1269,7 +1269,7 @@ test_long_long_converter(PyObject *module, PyObject *const *args, Py_ssize_t nar
goto exit;
}
a = PyLong_AsLongLong(args[0]);
- if (a == (PY_LONG_LONG)-1 && PyErr_Occurred()) {
+ if (a == -1 && PyErr_Occurred()) {
goto exit;
}
skip_optional:
@@ -1281,7 +1281,7 @@ exit:
static PyObject *
test_long_long_converter_impl(PyObject *module, long long a)
-/*[clinic end generated code: output=3e8083f3aee4f18a input=d5fc81577ff4dd02]*/
+/*[clinic end generated code: output=7143b585d7e433e8 input=d5fc81577ff4dd02]*/
/*[clinic input]