diff options
Diffstat (limited to 'Lib')
| -rw-r--r-- | Lib/decimal.py | 1 | ||||
| -rw-r--r-- | Lib/test/test_decimal.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py index 96d9df4..9f37e4f 100644 --- a/Lib/decimal.py +++ b/Lib/decimal.py @@ -140,6 +140,7 @@ __all__ = [ __version__ = '1.70' # Highest version of the spec this complies with # See http://speleotrove.com/decimal/ +__libmpdec_version__ = "2.4.0" # compatible libmpdec version import copy as _copy import math as _math 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('_')] |
