@@ -7,8 +7,7 @@ def test_integration_pysr():
7
7
import tempfile
8
8
9
9
with tempfile .TemporaryDirectory () as tempdir :
10
- run_kws = dict (check = True , capture_output = True )
11
- subprocess .run ([sys .executable , "-m" , "virtualenv" , tempdir ], ** run_kws )
10
+ subprocess .run ([sys .executable , "-m" , "virtualenv" , tempdir ], check = True )
12
11
13
12
virtualenv_path = os .path .join (
14
13
tempdir , "Scripts" if platform .system () == "Windows" else "bin"
@@ -18,11 +17,11 @@ def test_integration_pysr():
18
17
assert os .path .exists (virtualenv_executable )
19
18
20
19
# Install this package
21
- subprocess .run ([virtualenv_executable , "-m" , "pip" , "install" , "." ], ** run_kws )
20
+ subprocess .run ([virtualenv_executable , "-m" , "pip" , "install" , "." ], check = True )
22
21
# Install PySR with no requirement on JuliaCall
23
22
subprocess .run (
24
23
[virtualenv_executable , "-m" , "pip" , "install" , "--no-deps" , "pysr" ],
25
- ** run_kws ,
24
+ check = True ,
26
25
)
27
26
# Install PySR test requirements
28
27
subprocess .run (
@@ -38,9 +37,9 @@ def test_integration_pysr():
38
37
"setuptools" ,
39
38
"pytest" ,
40
39
],
41
- ** run_kws ,
40
+ check = True ,
42
41
)
43
42
# Run PySR main test suite
44
43
subprocess .run (
45
- [virtualenv_executable , "-m" , "pysr" , "test" , "main" ], ** run_kws ,
44
+ [virtualenv_executable , "-m" , "pysr" , "test" , "main" ], check = True
46
45
)
0 commit comments