mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 14:34:23 +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()
|
||||
self.assertEqual(15, len(stats))
|
||||
|
||||
except:
|
||||
print("Milvus not installed, skipping tests")
|
||||
except ImportError as err:
|
||||
print(f"Skipping tests for MilvusMemory: {err}")
|
||||
|
||||
Reference in New Issue
Block a user