Debian Codegraph @

debian/patches/fix-test-doc-examples.patch

raw symbols SCIP
1 Descriptionscip-debian debian python-nixio 1.5.4+dfsg-4 python-nixio/patches/`fix-test-doc-examples.patch`#Description.: fix test_doc_examples.py
2 The examples_path attribute misses initialisation, causing various test
3 failures.
4 Authorscip-debian debian python-nixio 1.5.4+dfsg-4 python-nixio/patches/`fix-test-doc-examples.patch`#Author.: Étienne Mollier <[email protected]scip-debian . . . identity/`[email protected]`.>
5 Forwardedscip-debian debian python-nixio 1.5.4+dfsg-4 python-nixio/patches/`fix-test-doc-examples.patch`#Forwarded.: https://github.com/G-Node/nixpy/pull/538
6 Last-Updatescip-debian debian python-nixio 1.5.4+dfsg-4 python-nixio/patches/`fix-test-doc-examples.patch`#Last-Update.: 2024-02-17
7 ---
8 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
9 --- a/nixio/test/test_doc_examples.pyscip-debian debian python-nixio 1.5.4+dfsg-4 python-nixio/upstream/`nixio/test/test_doc_examples.py`:
10 +++ b/nixio/test/test_doc_examples.pyscip-debian debian python-nixio 1.5.4+dfsg-4 python-nixio/upstream/`nixio/test/test_doc_examples.py`:
11 @@ -16,6 +16,8 @@
12
13 examples_path = Path("docs/source/examples")
14
15 + examples_path = Path("docs/source/examples")
16 +
17 def run_script(self, script_name):
18 file_path = Path.joinpath(self.examples_path, script_name)
19 runpy.run_path(path_name=str(file_path), run_name="__main__")