File size: 688 Bytes
c922f8b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
#!/usr/bin/env python
"""
Simple test to debug memory module imports.
"""
import sys
def test_simple():
"""Test simple memory imports."""
try:
import memory
print("✅ Successfully imported memory module")
# Print all attributes in the memory module
print("\nContents of memory module:")
for attr in dir(memory):
if not attr.startswith('__'):
print(f" - {attr}")
except ImportError as e:
print(f"❌ Failed to import memory module: {e}")
return False
return True
if __name__ == "__main__":
if test_simple():
sys.exit(0)
else:
sys.exit(1) |