Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
a9ca83d2
Commit
a9ca83d2
authored
Jan 16, 2018
by
Davis King
Browse files
Disable these tests if numpy isn't installed
parent
0217fb5a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
tools/python/test/test_matrix.py
tools/python/test/test_matrix.py
+6
-1
No files found.
tools/python/test/test_matrix.py
View file @
a9ca83d2
...
...
@@ -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
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment