summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_regression.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-01 17:23:53 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-04-01 17:43:39 -0600
commit5819d28c02e4331318ac05824921d457e48d3c00 (patch)
treeb1f61b64ebaeb4c9dfefa9cfb813ae03e924085c /numpy/lib/tests/test_regression.py
parenta6385b3a99e508e0d2ed5a6397da29d05da27ceb (diff)
downloadnumpy-5819d28c02e4331318ac05824921d457e48d3c00.tar.gz
BUG: Raise immediate error in ctypes.load_library when library is bad.
This is a fixup of PR #475 due to JeromeRoy. The problem addressed is that when multiple errors were encountered attempting to import a library file, only the last one was preserved. The proposed fix is to raise an error immediately when a file of the correct name fails to import, and raise a later error if no file is found but no errors are raised in the search. Closes #474, #475.
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
0 files changed, 0 insertions, 0 deletions