We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45ef71f commit da4f480Copy full SHA for da4f480
sklearn/tests/test_discriminant_analysis.py
@@ -25,7 +25,8 @@
25
# Python 3+ import for reload. Builtin in Python2
26
if version[1] == 3:
27
reload = None
28
- from importlib import reload
+ else:
29
+ from importlib import reload
30
31
32
# Data is just 6 separable points in the plane
@@ -305,7 +306,7 @@ def test_qda_regularization():
305
306
307
def test_deprecated_lda_qda_deprecation():
308
if reload is None:
- SkipTest("Can't reload module on Python3.3")
309
+ raise SkipTest("Can't reload module on Python3.3")
310
311
def import_lda_module():
312
import sklearn.lda
0 commit comments