Skip to content

Commit bda1eb6

Browse files
committed
FIX change the way we check for a specific Python version in the test suite (#1075)
1 parent dd24e14 commit bda1eb6

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

doc/whats_new/v0.12.rst

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
.. _changes_0_12:
22

3+
Version 0.12.2
4+
==============
5+
6+
**March 31, 2024**
7+
8+
Changelog
9+
---------
10+
11+
Bug fixes
12+
.........
13+
14+
- Fix the way we check for a specific Python version in the test suite.
15+
:pr:`1075` by :user:`Guillaume Lemaitre <glemaitre>`.
16+
317
Version 0.12.1
418
==============
519

6-
**In progress**
20+
**March 31, 2024**
721

822
Changelog
923
---------

imblearn/utils/tests/test_docstring.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, param_1, param_2):
6767
self.param_2 = param_2
6868

6969

70-
if sys.version_info.minor == "13":
70+
if sys.version_info >= (3, 13):
7171
func_docstring = _dedent_docstring(func_docstring)
7272
cls_docstring = _dedent_docstring(cls_docstring)
7373

0 commit comments

Comments
 (0)