diff options
author | Stefan Krah <skrah@bytereef.org> | 2016-03-23 20:50:10 +0100 |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2016-03-23 20:50:10 +0100 |
commit | 66e9d03bf445b595861a3749df75b269ba3634e4 (patch) | |
tree | 6954e1455399bebbf567f8cef220ba178ff8e09f | |
parent | 4a1c7d2c3699a0f201ec2bb277ebcadf3f863759 (diff) | |
download | cpython-git-66e9d03bf445b595861a3749df75b269ba3634e4.tar.gz |
Issue #26621: Update libmpdec version and remove unnecessary test case.
-rw-r--r-- | Lib/_pydecimal.py | 2 | ||||
-rw-r--r-- | Lib/test/test_decimal.py | 1 | ||||
-rw-r--r-- | Modules/_decimal/libmpdec/mpdecimal.h | 4 |
3 files changed, 3 insertions, 4 deletions
diff --git a/Lib/_pydecimal.py b/Lib/_pydecimal.py index 02365cad2c..60723f3df3 100644 --- a/Lib/_pydecimal.py +++ b/Lib/_pydecimal.py @@ -148,7 +148,7 @@ __xname__ = __name__ # sys.modules lookup (--without-threads) __name__ = 'decimal' # For pickling __version__ = '1.70' # Highest version of the spec this complies with # See http://speleotrove.com/decimal/ -__libmpdec_version__ = "2.4.1" # compatible libmpdec version +__libmpdec_version__ = "2.4.2" # compatible libmpdec version import math as _math import numbers as _numbers diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py index f6d58ff53d..f56f9add58 100644 --- a/Lib/test/test_decimal.py +++ b/Lib/test/test_decimal.py @@ -4206,7 +4206,6 @@ 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__) self.assertEqual(dir(C), dir(P)) diff --git a/Modules/_decimal/libmpdec/mpdecimal.h b/Modules/_decimal/libmpdec/mpdecimal.h index 5ca74135bf..56e4887cc8 100644 --- a/Modules/_decimal/libmpdec/mpdecimal.h +++ b/Modules/_decimal/libmpdec/mpdecimal.h @@ -108,9 +108,9 @@ MPD_PRAGMA(MPD_HIDE_SYMBOLS_START) #define MPD_MAJOR_VERSION 2 #define MPD_MINOR_VERSION 4 -#define MPD_MICRO_VERSION 1 +#define MPD_MICRO_VERSION 2 -#define MPD_VERSION "2.4.1" +#define MPD_VERSION "2.4.2" #define MPD_VERSION_HEX ((MPD_MAJOR_VERSION << 24) | \ (MPD_MINOR_VERSION << 16) | \ |