import os.path def __import__(*args): raise AssertionError import os.path print('ok')