Permalink
Browse files

TST: linalg: fix assumption about existing cblas in test

  • Loading branch information...
1 parent f14d232 commit dae0b0b0588496164e058e37efc6ecb78a8f3aa6 @pv committed Nov 28, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 scipy/linalg/tests/test_blas.py
@@ -35,9 +35,10 @@ def test_get_blas_funcs():
# get_blas_funcs will choose libraries depending on most generic
# array
assert_equal(f1.typecode, 'z')
- assert_equal(f1.module_name, 'cblas')
assert_equal(f2.typecode, 'z')
- assert_equal(f2.module_name, 'cblas')
+ if cblas is not None:
+ assert_equal(f1.module_name, 'cblas')
+ assert_equal(f2.module_name, 'cblas')
# check defaults.
f1 = get_blas_funcs('rotg')

0 comments on commit dae0b0b

Please sign in to comment.