mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-20 07:24:21 +01:00
Update milvus_memory_test.py
The 'err' variable in the except block is an instance of the ImportError class.
This commit is contained in:
@@ -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}")
|
||||||
|
|||||||
Reference in New Issue
Block a user