summaryrefslogtreecommitdiff
path: root/src/python/test/test_representations.py
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-01-14 08:48:51 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-01-14 08:48:51 +0100
commit88c30209fe58d29d24d5bba3c137cd5e5def29c5 (patch)
treec7a3257ce01bd26b770bb39b508835843720fb5e /src/python/test/test_representations.py
parent23ccc50ab3608202452e44f287e4817ffa98227c (diff)
parent5533e1f16c99512ff1966b31ba8f121d37462f52 (diff)
Merge branch 'master' into print_warnings_to_stderr
Diffstat (limited to 'src/python/test/test_representations.py')
-rwxr-xr-xsrc/python/test/test_representations.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/python/test/test_representations.py b/src/python/test/test_representations.py
index 4ff65f98..dba7f952 100755
--- a/src/python/test/test_representations.py
+++ b/src/python/test/test_representations.py
@@ -1,11 +1,12 @@
import os
import sys
import matplotlib.pyplot as plt
-# Disable graphics for testing purposes
-plt.show = lambda:None
-here = os.path.dirname(os.path.realpath(__file__))
-sys.path.append(here + "/../example")
-import diagram_vectorizations_distances_kernels
-# pytest is unhappy if there are 0 tests
-def test_nothing():
+
+def test_representations_examples():
+ # Disable graphics for testing purposes
+ plt.show = lambda:None
+ here = os.path.dirname(os.path.realpath(__file__))
+ sys.path.append(here + "/../example")
+ import diagram_vectorizations_distances_kernels
+
return None