diff options
author | David Cournapeau <cournape@gmail.com> | 2010-03-31 03:45:16 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2010-03-31 03:45:16 +0000 |
commit | 6f00924d2ca7a1faf09761a175ad3b4b1b7d0888 (patch) | |
tree | e59651a89559d694ae8ebed80760b7e18fab8952 /numpy/lib/tests/test_regression.py | |
parent | 89e2287b295f327a0e6bc76d8e8ded0c1b89f559 (diff) | |
download | numpy-6f00924d2ca7a1faf09761a175ad3b4b1b7d0888.tar.gz |
BUG: move test from core to lib, mark it as deprected.
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
-rw-r--r-- | numpy/lib/tests/test_regression.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_regression.py b/numpy/lib/tests/test_regression.py index d611c067d..60261bf79 100644 --- a/numpy/lib/tests/test_regression.py +++ b/numpy/lib/tests/test_regression.py @@ -170,5 +170,16 @@ class TestRegression(TestCase): """Ticket #1387: empty array as input for bincount.""" assert_raises(ValueError, lambda : np.bincount(np.array([], dtype=np.intp))) + @dec.deprecated() + def test_include_dirs(self): + """As a sanity check, just test that get_include and + get_numarray_include include something reasonable. Somewhat + related to ticket #1405.""" + include_dirs = [np.get_include(), np.get_numarray_include(), + np.get_numpy_include()] + for path in include_dirs: + assert isinstance(path, (str, unicode)) + assert path != '' + if __name__ == "__main__": run_module_suite() |