diff --git a/b_asic/utils.py b/b_asic/utils.py index 11f690c91b12f7ca214db0ffa319c943288f367b..24ee5f62e6d68950d641a07a1194c0a04472feb2 100644 --- a/b_asic/utils.py +++ b/b_asic/utils.py @@ -51,6 +51,6 @@ def load_structure(_path: str) -> AbstractOperation: with open(_path, "rb") as handle: return dill.load(handle) except Exception as e: - print("Unexpected error occured while saving structure: ", e) + print("Unexpected error occured while loading structure: ", e) return None diff --git a/test/test_load_save_structure.py b/test/test_load_save_structure.py index d84d8da0e5e10039d062f7df149055088668011a..9e4190a9d4b1cf2e79c79db12b7374d24658157b 100644 --- a/test/test_load_save_structure.py +++ b/test/test_load_save_structure.py @@ -49,4 +49,5 @@ class TestSaveStructures: _invalid_path = path.join(getcwd(), _folder, "cool.pickle") _path = load_structure(_path=_invalid_path) - assert _path is None \ No newline at end of file + assert _path is None + \ No newline at end of file