Issue #26621: Update libmpdec version and remove unnecessary test case.

This commit is contained in:
Stefan Krah 2016-03-23 20:50:10 +01:00
parent 4a1c7d2c36
commit 66e9d03bf4
3 changed files with 3 additions and 4 deletions

View File

@ -148,7 +148,7 @@ __xname__ = __name__ # sys.modules lookup (--without-threads)
__name__ = 'decimal' # For pickling __name__ = 'decimal' # For pickling
__version__ = '1.70' # Highest version of the spec this complies with __version__ = '1.70' # Highest version of the spec this complies with
# See http://speleotrove.com/decimal/ # 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 math as _math
import numbers as _numbers import numbers as _numbers

View File

@ -4206,7 +4206,6 @@ class CheckAttributes(unittest.TestCase):
self.assertTrue(P.HAVE_THREADS is True or P.HAVE_THREADS is False) self.assertTrue(P.HAVE_THREADS is True or P.HAVE_THREADS is False)
self.assertEqual(C.__version__, P.__version__) self.assertEqual(C.__version__, P.__version__)
self.assertEqual(C.__libmpdec_version__, P.__libmpdec_version__)
self.assertEqual(dir(C), dir(P)) self.assertEqual(dir(C), dir(P))

View File

@ -108,9 +108,9 @@ MPD_PRAGMA(MPD_HIDE_SYMBOLS_START)
#define MPD_MAJOR_VERSION 2 #define MPD_MAJOR_VERSION 2
#define MPD_MINOR_VERSION 4 #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) | \ #define MPD_VERSION_HEX ((MPD_MAJOR_VERSION << 24) | \
(MPD_MINOR_VERSION << 16) | \ (MPD_MINOR_VERSION << 16) | \