File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 2222import shutil
2323import subprocess
2424import os
25+ import sys
2526import tempfile
2627
2728from edgedb import _testbase as tb
@@ -66,17 +67,24 @@ async def run(*args, extra_env=None):
6667 raise
6768
6869 await run (
69- "edgedb-py" , extra_env = {"EDGEDB_PYTHON_CODEGEN_PY_VER" : "3.7.5" }
70+ sys .executable ,
71+ "-m" ,
72+ "edgedb.codegen" ,
73+ extra_env = {"EDGEDB_PYTHON_CODEGEN_PY_VER" : "3.7.5" },
7074 )
7175 await run (
72- "edgedb-py" ,
76+ sys .executable ,
77+ "-m" ,
78+ "edgedb.codegen" ,
7379 "--target" ,
7480 "blocking" ,
7581 "--no-skip-pydantic-validation" ,
7682 extra_env = {"EDGEDB_PYTHON_CODEGEN_PY_VER" : "3.9.2" },
7783 )
7884 await run (
79- "edgedb-py" ,
85+ sys .executable ,
86+ "-m" ,
87+ "edgedb.codegen" ,
8088 "--target" ,
8189 "async" ,
8290 "--file" ,
You can’t perform that action at this time.
0 commit comments