Commit 8d8a3f9
committed
Fix: make motion_socket test Python 3.6 compatible
The `capture_output` argument for `subprocess.run` is not available
in Python 3.6, which is the default on Rocky Linux 8.
This commit replaces it with `stdout=subprocess.PIPE` and `stderr=
subprocess.PIPE` to ensure backward compatibility.
This enables `ic-good-opt-*` tests to pass on Rocky 8 environments.
See: #15381 parent 9b98b82 commit 8d8a3f9
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments