File: import

package info (click to toggle)
imbalanced-learn 0.12.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,160 kB
  • sloc: python: 17,221; sh: 481; makefile: 187; javascript: 50
file content (15 lines) | stat: -rw-r--r-- 339 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/python3

import sys

def test_python3_import_imblearn():
    """Tests that imblearn is importable."""
    try:
        import imblearn
    except ImportError as err:
        sys.stderr.write("Could not import imblearn: %s", err)
        sys.exit(1)

if __name__ == "__main__":
    test_python3_import_imblearn()
    sys.exit(0)