@@ -7,7 +7,8 @@ def test_integration_pysr():
77 import tempfile
88
99 with tempfile .TemporaryDirectory () as tempdir :
10- subprocess .run ([sys .executable , "-m" , "virtualenv" , tempdir ], check = True )
10+ run_kws = dict (check = True , capture_output = True )
11+ subprocess .run ([sys .executable , "-m" , "virtualenv" , tempdir ], ** run_kws )
1112
1213 virtualenv_path = os .path .join (
1314 tempdir , "Scripts" if platform .system () == "Windows" else "bin"
@@ -17,11 +18,11 @@ def test_integration_pysr():
1718 assert os .path .exists (virtualenv_executable )
1819
1920 # Install this package
20- subprocess .run ([virtualenv_executable , "-m" , "pip" , "install" , "." ], check = True )
21+ subprocess .run ([virtualenv_executable , "-m" , "pip" , "install" , "." ], ** run_kws )
2122 # Install PySR with no requirement on JuliaCall
2223 subprocess .run (
2324 [virtualenv_executable , "-m" , "pip" , "install" , "--no-deps" , "pysr" ],
24- check = True ,
25+ ** run_kws ,
2526 )
2627 # Install PySR test requirements
2728 subprocess .run (
@@ -37,9 +38,9 @@ def test_integration_pysr():
3738 "setuptools" ,
3839 "pytest" ,
3940 ],
40- check = True ,
41+ ** run_kws ,
4142 )
4243 # Run PySR main test suite
4344 subprocess .run (
44- [virtualenv_executable , "-m" , "pysr" , "test" , "main" ], check = True
45+ [virtualenv_executable , "-m" , "pysr" , "test" , "main" ], ** run_kws ,
4546 )
0 commit comments