def _prepare_path_for_local_packages(self):
        if os.getcwd().endswith('spec') or os.getcwd().endswith('specs'):
            sys.path.append('..')
        else:
            sys.path.append('.')
dataset/ETHPy150Open nestorsalceda/mamba/mamba/example_collector.py/ExampleCollector._prepare_path_for_local_packages/original