Commit a9ca83d2 authored by Davis King's avatar Davis King

Disable these tests if numpy isn't installed

parent 0217fb5a
...@@ -4,7 +4,12 @@ try: ...@@ -4,7 +4,12 @@ try:
except ImportError: except ImportError:
import pickle import pickle
from pytest import raises from pytest import raises
import numpy
try:
import numpy
except ImportError:
# Just skip these tests if numpy isn't installed
exit(0)
def test_matrix_empty_init(): def test_matrix_empty_init():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment