Skip to content

Commit 66e9d03

Browse files
author
Stefan Krah
committed
Issue #26621: Update libmpdec version and remove unnecessary test case.
1 parent 4a1c7d2 commit 66e9d03

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Diff for: Lib/_pydecimal.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
__name__ = 'decimal' # For pickling
149149
__version__ = '1.70' # Highest version of the spec this complies with
150150
# See http://speleotrove.com/decimal/
151-
__libmpdec_version__ = "2.4.1" # compatible libmpdec version
151+
__libmpdec_version__ = "2.4.2" # compatible libmpdec version
152152

153153
import math as _math
154154
import numbers as _numbers

Diff for: Lib/test/test_decimal.py

-1
Original file line numberDiff line numberDiff line change
@@ -4206,7 +4206,6 @@ def test_module_attributes(self):
42064206
self.assertTrue(P.HAVE_THREADS is True or P.HAVE_THREADS is False)
42074207

42084208
self.assertEqual(C.__version__, P.__version__)
4209-
self.assertEqual(C.__libmpdec_version__, P.__libmpdec_version__)
42104209

42114210
self.assertEqual(dir(C), dir(P))
42124211

Diff for: Modules/_decimal/libmpdec/mpdecimal.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ MPD_PRAGMA(MPD_HIDE_SYMBOLS_START)
108108

109109
#define MPD_MAJOR_VERSION 2
110110
#define MPD_MINOR_VERSION 4
111-
#define MPD_MICRO_VERSION 1
111+
#define MPD_MICRO_VERSION 2
112112

113-
#define MPD_VERSION "2.4.1"
113+
#define MPD_VERSION "2.4.2"
114114

115115
#define MPD_VERSION_HEX ((MPD_MAJOR_VERSION << 24) | \
116116
(MPD_MINOR_VERSION << 16) | \

0 commit comments

Comments
 (0)