[Numpy-svn] r4932 - trunk/numpy/tests
numpy-svn at scipy.org
numpy-svn at scipy.org
Sun Mar 23 02:16:36 EDT 2008
Author: cdavid
Date: 2008-03-23 01:16:32 -0500 (Sun, 23 Mar 2008)
New Revision: 4932
Modified:
trunk/numpy/tests/test_ctypeslib.py
Log:
Revert accidentally commited changes to TestLoadLibrary unittest for ctypes.
Modified: trunk/numpy/tests/test_ctypeslib.py
===================================================================
--- trunk/numpy/tests/test_ctypeslib.py 2008-03-23 06:13:17 UTC (rev 4931)
+++ trunk/numpy/tests/test_ctypeslib.py 2008-03-23 06:16:32 UTC (rev 4932)
@@ -4,13 +4,8 @@
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):
More information about the Numpy-svn
mailing list