We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed851ad commit 854a5eaCopy full SHA for 854a5ea
test_tutorials/test_tutorials.py
@@ -7,9 +7,10 @@
7
8
# ROOT.gROOT.SetBatch(True)
9
10
-tutorial_dir = pathlib.Path(os.environ.get("ROOTSYS")) / "tutorials"
+tutorial_dir = pathlib.Path(str(ROOT.gROOT.GetTutorialDir())) or pathlib.Path(ROOT.__file__).parent.parent.parent / "tutorials"
11
tutorials = list(tutorial_dir.rglob("*.py"))
12
13
+
14
@pytest.mark.parametrize("tutorial", tutorials)
15
def test_tutorial(tutorial):
16
# subprocess.run([sys.executable, str(tutorial)], check=True)
0 commit comments