8000 Remove skip decorators for nose from sklearn/utils/testing.py · scikit-learn/scikit-learn@0bc2ccb · GitHub
[go: up one dir, main page]

Skip to content

Commit 0bc2ccb

Browse files
committed
Remove skip decorators for nose from sklearn/utils/testing.py
1 parent 501bae7 commit 0bc2ccb

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

sklearn/utils/testing.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -697,22 +697,7 @@ def run_test(*args, **kwargs):
697697
reason='skip on travis')
698698

699699
except ImportError:
700-
701-
def skip_if_32bit(func):
702-
"""Test decorator that skips tests on 32bit platforms."""
703-
@wraps(func)
704-
def run_test(*args, **kwargs):
705-
bits = 8 * struct.calcsize("P")
706-
if bits == 32:
707-
raise SkipTest('Test skipped on 32bit platforms.')
708-
else:
709-
return func(*args, **kwargs)
710-
return run_test
711-
712-
def skip_travis():
713-
"""Skip test if being run on Travis."""
714-
if os.environ.get('TRAVIS') == "true":
715-
raise SkipTest("This test needs to be skipped on Travis")
700+
pass
716701

717702

718703
def if_safe_multiprocessing_with_blas(func):

0 commit comments

Comments
 (0)
0