From 0afb65e6352abf965f11741c20f5510caa43eb71 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 23 Jul 2022 15:57:05 +0200 Subject: [PATCH] Removed unneeded test suite creation for GIS measure tests. --- tests/gis_tests/test_measure.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tests/gis_tests/test_measure.py b/tests/gis_tests/test_measure.py index 12c7924b11..01ad5182e7 100644 --- a/tests/gis_tests/test_measure.py +++ b/tests/gis_tests/test_measure.py @@ -293,18 +293,3 @@ class AreaTest(unittest.TestCase): self.assertEqual(hash(a2), hash(a3)) self.assertNotEqual(hash(a1), hash(a2)) self.assertNotEqual(hash(a1), hash(a3)) - - -def suite(): - s = unittest.TestSuite() - s.addTest(unittest.makeSuite(DistanceTest)) - s.addTest(unittest.makeSuite(AreaTest)) - return s - - -def run(verbosity=2): - unittest.TextTestRunner(verbosity=verbosity).run(suite()) - - -if __name__ == "__main__": - run()