Skip to content

Commit 4cbd9ff

Browse files
authored
Merge pull request #538 from emollier/test-examples
test_doc_examples.py: initialize examples_path.
2 parents 04a658f + f77ad4f commit 4cbd9ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nixio/test/test_doc_examples.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
class TestDocumentationExamples(unittest.TestCase):
1717

18+
examples_path = Path("docs/source/examples")
19+
1820
def run_script(self, script_name):
1921
file_path = Path.joinpath(self.examples_path, script_name)
2022
runpy.run_path(path_name=str(file_path), run_name="__main__")

0 commit comments

Comments
 (0)