diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-01-10 19:43:04 +0100 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-01-10 19:43:04 +0100 |
commit | 8f5cb043bf78b8f008b67e292668543a899e6795 (patch) | |
tree | 79724bb0d782a846e84008b893b89741f8604120 /src/python/test/test_representations.py | |
parent | f61d7c2c9f1148ee1bc749d1f7007f5c01f4ffb4 (diff) |
Reorder import and docstrings. Modify test_representations
Diffstat (limited to 'src/python/test/test_representations.py')
-rwxr-xr-x | src/python/test/test_representations.py | 15 |
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 |