Skip to content

Commit f56ab1b

Browse files
author
Shoshana Berleant
committed
remove out-of-date (?) test warning
1 parent 833a840 commit f56ab1b

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

nipype/__init__.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,26 +55,10 @@ def test(self, label='fast', verbose=1, extra_argv=['--exe'],
5555
test = _NoseTester().test
5656
del nosetester
5757

58-
59-
def _test_local_install():
60-
""" Warn the user that running with nipy being
61-
imported locally is a bad idea.
62-
"""
63-
if os.getcwd() == os.sep.join(
64-
os.path.abspath(__file__).split(os.sep)[:-2]):
65-
import warnings
66-
warnings.warn('Running the tests from the install directory may '
67-
'trigger some failures')
68-
69-
_test_local_install()
70-
7158
# Set up package information function
7259
from .pkg_info import get_pkg_info as _get_pkg_info
7360
get_info = lambda: _get_pkg_info(os.path.dirname(__file__))
7461

75-
# Cleanup namespace
76-
del _test_local_install
77-
7862
# If this file is exec after being imported, the following lines will
7963
# fail
8064
try:

0 commit comments

Comments
 (0)