Aluode/PerceptionLabPortable
0
1# Basic unittests to test functioning of module's top-level
2
3
4__author__ = "Yaroslav Halchenko"
5__license__ = "BSD"
6
7
8try:
9 from sklearn import * # noqa: F403
10
11 _top_import_error = None
12except Exception as e:
13 _top_import_error = e
14
15
16def test_import_skl():
17 # Test either above import has failed for some reason
18 # "import *" is discouraged outside of the module level, hence we
19 # rely on setting up the variable above
20 assert _top_import_error is None
21 