add a missing unittest.main() [pr] (#8274)

This commit is contained in:
chenyu
2024-12-16 14:28:10 -05:00
committed by GitHub
parent befa8641c8
commit 2bb298f38d
2 changed files with 3 additions and 1 deletions

View File

@@ -102,3 +102,6 @@ class TestGGUF(unittest.TestCase):
if (get_fn := gguf_val_getters[v_type]) is not None: self.assertEqual(get_fn(gguf_ctx, gguf_key_id), v)
ggml.gguf_free(gguf_ctx)
if __name__ == '__main__':
unittest.main()

View File

@@ -182,4 +182,3 @@ class TestShapeTrackerInvert(unittest.TestCase):
if __name__ == '__main__':
unittest.main()