summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2018-10-21 13:24:14 +0200
committerStefan Behnel <stefan_ml@behnel.de>2018-10-21 13:24:14 +0200
commitcc02495da4e5186845ae6e5d754faf92cff6335b (patch)
tree29ead256ceb3b3f25f0525157df0811267ec5d57
parentbc25e52379a37b393b00f38242d27df166cca1f5 (diff)
downloadcython-cc02495da4e5186845ae6e5d754faf92cff6335b.tar.gz
Extend buildenv test.
-rw-r--r--tests/compile/buildenv.pyx5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/compile/buildenv.pyx b/tests/compile/buildenv.pyx
index d93631358..e61491734 100644
--- a/tests/compile/buildenv.pyx
+++ b/tests/compile/buildenv.pyx
@@ -92,10 +92,11 @@ CYTHON_PEP489_MULTI_PHASE_INIT {CYTHON_PEP489_MULTI_PHASE_INIT}
CYTHON_USE_TP_FINALIZE {CYTHON_USE_TP_FINALIZE}
PyLong_BASE 0x{PyLong_BASE:X}
-PyLong_MASK {PyLong_MASK:X}
+PyLong_MASK 0x{PyLong_MASK:X}
PyLong_SHIFT {PyLong_SHIFT}
-sizeof(digit) {sizeof(digit)}
+sizeof(digit) {sizeof(digit)}
sizeof(sdigit) {sizeof(sdigit)}
+sys.int_info {getattr(sys, 'int_info', '-')}
sys.getsizeof(1, 2**14, 2**15, 2**29, 2**30, 2**59, 2**60, 2**64) {tuple(sys.getsizeof(n) for n in (1, 2**14, 2**15, 2**29, 2**30, 2**59, 2**60, 2**64))}
SIZEOF_INT {SIZEOF_INT} ({sizeof(int)})