summaryrefslogtreecommitdiffstats
path: root/Modules/_testinternalcapi.c
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2022-01-23 09:59:34 (GMT)
committerGitHub <noreply@github.com>2022-01-23 09:59:34 (GMT)
commit83a0ef2162aa379071e243f1b696aa6814edcd2a (patch)
treecb22fd3b401774c3492185129ec08aca726a4be9 /Modules/_testinternalcapi.c
parent51c3e28c8a163e58dc753765e3cc51d5a717e70d (diff)
downloadcpython-83a0ef2162aa379071e243f1b696aa6814edcd2a.zip
cpython-83a0ef2162aa379071e243f1b696aa6814edcd2a.tar.gz
cpython-83a0ef2162aa379071e243f1b696aa6814edcd2a.tar.bz2
bpo-29882: Fix portability bug introduced in GH-30774 (#30794)
Diffstat (limited to 'Modules/_testinternalcapi.c')
-rw-r--r--Modules/_testinternalcapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_testinternalcapi.c b/Modules/_testinternalcapi.c
index 9deba35..5d5b3e6 100644
--- a/Modules/_testinternalcapi.c
+++ b/Modules/_testinternalcapi.c
@@ -100,6 +100,7 @@ test_popcount(PyObject *self, PyObject *Py_UNUSED(args))
CHECK(0, 0);
CHECK(1, 1);
CHECK(0x08080808, 4);
+ CHECK(0x10000001, 2);
CHECK(0x10101010, 4);
CHECK(0x10204080, 4);
CHECK(0xDEADCAFE, 22);