Skip to content

Commit

Permalink
FIX change the way we check for a specific Python version in the test…
Browse files Browse the repository at this point in the history
… suite (#1075)
  • Loading branch information
glemaitre committed Mar 31, 2024
1 parent dd24e14 commit bda1eb6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion doc/whats_new/v0.12.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
.. _changes_0_12:

Version 0.12.2
==============

**March 31, 2024**

Changelog
---------

Bug fixes
.........

- Fix the way we check for a specific Python version in the test suite.
:pr:`1075` by :user:`Guillaume Lemaitre <glemaitre>`.

Version 0.12.1
==============

**In progress**
**March 31, 2024**

Changelog
---------
Expand Down
2 changes: 1 addition & 1 deletion imblearn/utils/tests/test_docstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, param_1, param_2):
self.param_2 = param_2


if sys.version_info.minor == "13":
if sys.version_info >= (3, 13):
func_docstring = _dedent_docstring(func_docstring)
cls_docstring = _dedent_docstring(cls_docstring)

Expand Down

0 comments on commit bda1eb6

Please sign in to comment.