summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_decimal.py
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2013-11-24 18:44:57 (GMT)
committerStefan Krah <skrah@bytereef.org>2013-11-24 18:44:57 (GMT)
commit45059eb1d0788aa74ea383c89cf2f8c7a32fd2aa (patch)
treeb3b6d49eaf9541e9c53b0eef260f53e6607b69f0 /Lib/test/test_decimal.py
parentcdac302af362f275f31c13e143f78ec682ef7b68 (diff)
downloadcpython-45059eb1d0788aa74ea383c89cf2f8c7a32fd2aa.zip
cpython-45059eb1d0788aa74ea383c89cf2f8c7a32fd2aa.tar.gz
cpython-45059eb1d0788aa74ea383c89cf2f8c7a32fd2aa.tar.bz2
1) Prepare libmpdec for the 2.4.0 release. None of the following changes affects
_decimal: o Make all "mpd_t to C integer" conversion functions available in both the 64-bit and the 32-bit versions. o Make all mixed mpd_t/C integer arithmetic functions available in the 32-bit version. o Better handling of __STDC_LIMIT_MACROS for C++ users. o Add struct tags (at the request of C++ users). 2) Check for libmpdec.so.2 if --with-system-libmpdec is used.
Diffstat (limited to 'Lib/test/test_decimal.py')
-rw-r--r--Lib/test/test_decimal.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py
index 71b93a6..54a3615 100644
--- a/Lib/test/test_decimal.py
+++ b/Lib/test/test_decimal.py
@@ -4150,6 +4150,7 @@ class CheckAttributes(unittest.TestCase):
self.assertTrue(P.HAVE_THREADS is True or P.HAVE_THREADS is False)
self.assertEqual(C.__version__, P.__version__)
+ self.assertEqual(C.__libmpdec_version__, P.__libmpdec_version__)
x = dir(C)
y = [s for s in dir(P) if '__' in s or not s.startswith('_')]