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()
self.assertEqual(15, len(stats))
except:
print("Milvus not installed, skipping tests")
except ImportError as err:
print(f"Skipping tests for MilvusMemory: {err}")