mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Disable these tests if numpy isn't installed
This commit is contained in:
parent
0217fb5a3b
commit
a9ca83d228
@ -4,7 +4,12 @@ try:
|
||||
except ImportError:
|
||||
import pickle
|
||||
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():
|
||||
|
Loading…
Reference in New Issue
Block a user