From 7bf06c4a00a7461f72d9cc3f52e05496cd732175 Mon Sep 17 00:00:00 2001 From: Tieqiong Zhang Date: Thu, 15 Aug 2024 19:42:32 -0400 Subject: [PATCH] try to remove no test ran line --- run_tests.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/run_tests.py b/run_tests.py index 96471da4..175a2c7b 100644 --- a/run_tests.py +++ b/run_tests.py @@ -2,5 +2,9 @@ import diffpy.pdfgui.tests -assert diffpy.pdfgui.tests.test().wasSuccessful() -assert diffpy.pdfgui.tests.testdeps().wasSuccessful() +def run_tests(): + assert diffpy.pdfgui.tests.test().wasSuccessful() + assert diffpy.pdfgui.tests.testdeps().wasSuccessful() + +if __name__ == '__main__': + run_tests()