#!/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) |