summaryrefslogtreecommitdiff
path: root/src/python/test/test_representations.py
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2020-01-20 16:59:13 +0100
committerMarc Glisse <marc.glisse@inria.fr>2020-01-20 16:59:13 +0100
commit463043e08e9c8938af96d7220a6d5bb77fc064d8 (patch)
tree2b150676eeb8cfa2a0dc3f2a7a1344c1501f87b0 /src/python/test/test_representations.py
parenta7f3167ffb465bd6d1e3b9e40bc6f1c35daf87fc (diff)
parent653b8ff129a9676d1bc69ee5231cf12f9aadd7e9 (diff)
Merge remote-tracking branch 'origin/master' into ext
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