Skip to content

Commit ce9eb8b

Browse files
xcz011glemaitre
andauthored
MNT Add joblib into show version output (#694)
Co-authored-by: Guillaume Lemaitre <[email protected]>
1 parent dcafb24 commit ce9eb8b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

imblearn/utils/_show_versions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def _get_deps_info():
3030
"pandas",
3131
"keras",
3232
"tensorflow",
33+
"joblib",
3334
]
3435

3536
def get_version(module):

imblearn/utils/tests/test_show_versions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def test_get_deps_info():
1616
assert "scipy" in _deps_info
1717
assert "Cython" in _deps_info
1818
assert "pandas" in _deps_info
19+
assert "joblib" in _deps_info
1920

2021

2122
def test_show_versions_default(capsys):
@@ -34,6 +35,7 @@ def test_show_versions_default(capsys):
3435
assert "pandas" in out
3536
assert "keras" in out
3637
assert "tensorflow" in out
38+
assert "joblib" in out
3739

3840

3941
def test_show_versions_github(capsys):
@@ -55,4 +57,5 @@ def test_show_versions_github(capsys):
5557
assert "* pandas" in out
5658
assert "* keras" in out
5759
assert "* tensorflow" in out
60+
assert "* joblib" in out
5861
assert "</details>" in out

0 commit comments

Comments
 (0)