From 92b6fbb4398b475a80d465463203a69ffd579316 Mon Sep 17 00:00:00 2001 From: Nathanael Perraudin Date: Sat, 17 Aug 2019 15:20:12 +0200 Subject: [PATCH] fix test_graphs --- pygsp/tests/test_graphs.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pygsp/tests/test_graphs.py b/pygsp/tests/test_graphs.py index dbc4dd78..2c09a539 100644 --- a/pygsp/tests/test_graphs.py +++ b/pygsp/tests/test_graphs.py @@ -17,12 +17,15 @@ import scipy.linalg from scipy import sparse import networkx as nx -import graph_tool as gt -import graph_tool.generation from skimage import data, img_as_float from pygsp import graphs +import graph_tool as gt +import graph_tool.generation + + + class TestCase(unittest.TestCase): @@ -970,6 +973,3 @@ def test_import_errors(self): suite_import_export = unittest.TestLoader().loadTestsFromTestCase(TestImportExport) suite = unittest.TestSuite([suite_graphs, suite_import_export]) - -if __name__ == '__main__': - unittest.TextTestRunner(verbosity=2).run(suite) \ No newline at end of file