File tree Expand file tree Collapse file tree 4 files changed +0
-69
lines changed Expand file tree Collapse file tree 4 files changed +0
-69
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- from __future__ import division
2
-
3
1
import pytest
4
2
5
3
import numpy as np
Original file line number Diff line number Diff line change 7
7
# John Chiotellis <ioannis.chiotellis@in.tum.de>
8
8
# License: BSD 3 clause
9
9
10
- from __future__ import print_function
11
-
12
10
from warnings import warn
13
11
import numpy as np
14
12
import sys
Original file line number Diff line number Diff line change 21
21
from sklearn .utils .estimator_checks import _enforce_estimator_tags_x
22
22
from sklearn .utils .estimator_checks import _construct_instance
23
23
from sklearn .utils .deprecation import _is_deprecated
24
- from sklearn .externals ._pep562 import Pep562
25
24
from sklearn .datasets import make_classification
26
25
from sklearn .linear_model import LogisticRegression
27
26
from sklearn .preprocessing import FunctionTransformer
@@ -162,12 +161,6 @@ def test_tabs():
162
161
# because we don't import
163
162
mod = importlib .import_module (modname )
164
163
165
- # TODO: Remove when minimum python version is 3.7
166
- # unwrap to get module because Pep562 backport wraps the original
167
- # module
168
- if isinstance (mod , Pep562 ):
169
- mod = mod ._module
170
-
171
164
try :
172
165
source = inspect .getsource (mod )
173
166
except IOError : # user probably should have run "make clean"
You can’t perform that action at this time.
0 commit comments