summaryrefslogtreecommitdiff
path: root/numpy/tests
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-03-23 06:16:32 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-03-23 06:16:32 +0000
commitc0c85e05ee4f4e3ee4ad38084f7443b58451a90a (patch)
tree3da5dc2ff4338b45f71430bea2dbec127c7835ae /numpy/tests
parent8eed71c4f3f7ce0d394db3741facb2f15ed2459e (diff)
downloadnumpy-c0c85e05ee4f4e3ee4ad38084f7443b58451a90a.tar.gz
Revert accidentally commited changes to TestLoadLibrary unittest for ctypes.
Diffstat (limited to 'numpy/tests')
-rw-r--r--numpy/tests/test_ctypeslib.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/numpy/tests/test_ctypeslib.py b/numpy/tests/test_ctypeslib.py
index ceb574911..530764193 100644
--- a/numpy/tests/test_ctypeslib.py
+++ b/numpy/tests/test_ctypeslib.py
@@ -4,13 +4,8 @@ from numpy.testing import *
class TestLoadLibrary(NumpyTestCase):
def check_basic(self):
- try:
- cdll = load_library('multiarray',
- np.core.multiarray.__file__)
- except ImportError, e:
- msg = "ctypes is not available on this python: skipping the test" \
- " (import error was: %s)" % str(e)
- print msg
+ cdll = load_library('multiarray',
+ np.core.multiarray.__file__)
class TestNdpointer(NumpyTestCase):
def check_dtype(self):