Update milvus_memory_test.py

The 'err' variable in the except block is an instance of the ImportError class.
This commit is contained in:
Andres Caicedo
2023-04-20 16:42:34 +02:00
parent 000389c762
commit f99c37aede

View File

@@ -68,5 +68,5 @@ try:
stats = self.memory.get_stats() stats = self.memory.get_stats()
self.assertEqual(15, len(stats)) self.assertEqual(15, len(stats))
except: except ImportError as err:
print("Milvus not installed, skipping tests") print(f"Skipping tests for MilvusMemory: {err}")