1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Removed unneeded test suite creation for GIS measure tests.

This commit is contained in:
Claude Paroz 2022-07-23 15:57:05 +02:00 committed by GitHub
parent 4d4bf55e0e
commit 0afb65e635
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()