summaryrefslogtreecommitdiff
path: root/test/test_dr.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2017-07-26 11:26:08 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-07-26 11:26:08 +0200
commit46f297f678de0051dc6d5067291d1e1046b4705e (patch)
tree1c362d2353af5db2cb8ea22d1164ae7f9a43866b /test/test_dr.py
parente11b1d1a77f201896fd3f70bc5b910e99610e951 (diff)
import nmpy before ot
Diffstat (limited to 'test/test_dr.py')
-rw-r--r--test/test_dr.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_dr.py b/test/test_dr.py
index 3da7705..3faba48 100644
--- a/test/test_dr.py
+++ b/test/test_dr.py
@@ -1,8 +1,9 @@
-import ot
+
import numpy as np
+import ot
import pytest
-try: # test if cudamat installed
+try: # test if autograd and pymanopt are installed
import ot.dr
nogo = False
except ImportError: