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 7d00768 commit 02fa9d4Copy full SHA for 02fa9d4
tests/test_select_gen.py
@@ -1,3 +1,4 @@
1
+import os
2
import subprocess
3
import sys
4
from pathlib import Path
@@ -10,8 +11,8 @@
10
11
@needs_py39
12
def test_select_gen() -> None:
13
result = subprocess.run(
- [sys.executable, "scripts/generate_select.py"],
14
- env={"CHECK_JINJA": "1"},
+ [sys.executable, Path("scripts") / "generate_select.py"],
15
+ env={**os.environ, "CHECK_JINJA": "1"},
16
check=True,
17
cwd=root_path,
18
capture_output=True,
0 commit comments