Skip to content

Commit c30d05e

Browse files
committed
Fix example tests
1 parent b94234e commit c30d05e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration/test_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
EXAMPLES_DIR = Path(__file__).resolve().parent.parent.parent / "examples"
99
# Make example_scripts a list of strings instead of Path objects so that pytest can use it in its
1010
# automatic printouts. We convert the elements back to Paths in the test function.
11-
example_scripts = [str(p) for p in sorted(EXAMPLES_DIR.glob("*.py"))]
11+
example_scripts = [str(p) for p in sorted(EXAMPLES_DIR.rglob("*.py"))]
1212

1313

1414
@pytest.mark.parametrize("example_script", [str(p) for p in example_scripts])

0 commit comments

Comments
 (0)