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 68093d3 commit 4d82a5fCopy full SHA for 4d82a5f
.github/workflows/test.yml
@@ -43,9 +43,6 @@ jobs:
43
- os: windows-latest
44
python-version: "3.9"
45
pydantic-version: pydantic-v2
46
- - os: macos-latest
47
- python-version: "3.9"
48
- pydantic-version: pydantic-v2
49
- os: ubuntu-latest
50
python-version: "3.10"
51
pydantic-version: pydantic-v1
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