Description: fix test_doc_examples.py The examples_path attribute misses initialisation, causing various test failures. Author: Étienne Mollier Forwarded: https://github.com/G-Node/nixpy/pull/538 Last-Update: 2024-02-17 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/nixio/test/test_doc_examples.py +++ b/nixio/test/test_doc_examples.py @@ -16,6 +16,8 @@ examples_path = Path("docs/source/examples") + examples_path = Path("docs/source/examples") + def run_script(self, script_name): file_path = Path.joinpath(self.examples_path, script_name) runpy.run_path(path_name=str(file_path), run_name="__main__")