summaryrefslogtreecommitdiff
path: root/src/python/test/test_representations.py
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2020-01-18 20:28:51 +0100
committerMarc Glisse <marc.glisse@inria.fr>2020-01-18 20:28:51 +0100
commit0ab5f895846f1d773157181b6aa47c2d96488841 (patch)
tree2e126a000f87bf0a5fce820921bf048ad5b3a8da /src/python/test/test_representations.py
parent051c9760a214a11e8e4af14ae6221e34bb876350 (diff)
parentf8a5efa165241b9e27f06431e4919322b359ddb2 (diff)
Merge remote-tracking branch 'origin/master' into doc
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