Skip to content

Commit d17b362

Browse files
committed
Issue #26621: Update libmpdec version and remove unnecessary test case.
1 parent 55e4d88 commit d17b362

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Lib/_pydecimal.py

Lines changed: 1 addition & 1 deletion
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

Lib/test/test_decimal.py

Lines changed: 0 additions & 1 deletion
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

Modules/_decimal/libmpdec/mpdecimal.h

Lines changed: 2 additions & 2 deletions
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)