Skip to content

Commit

Permalink
CI fix pytest error in utils
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhiningLiu1998 committed Jul 22, 2023
1 parent 982d694 commit 5b7ada4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions imbens/utils/tests/test_show_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# Author: Alexander L. Hayes <[email protected]>
# License: MIT

# %%

from imbens.utils._show_versions import _get_deps_info, show_versions

_deps_info = _get_deps_info()


def test_get_deps_info():
_deps_info = _get_deps_info()
assert "pip" in _deps_info
assert "setuptools" in _deps_info
assert "imblearn" in _deps_info
Expand Down Expand Up @@ -59,3 +59,6 @@ def test_show_versions_github(capsys):
assert "* pandas" in out
assert "* joblib" in out
assert "</details>" in out


# %%

0 comments on commit 5b7ada4

Please sign in to comment.