The regex (.*) was capturing \r from subprocess output on Windows, causing the closing parenthesis in logs to wrap to the next line.
For example:
0208/454 - feature_bip68_sequence.py passed, Duration: 10 s
1209/454 - rpc_bind.py --ipv4 skipped (not on a Linux system
2)
3210/454 - rpc_bind.py --ipv6 skipped (not on a Linux system
4)
5211/454 - rpc_packages.py passed, Duration: 8 s
6212/454 - rpc_bind.py --nonloopback skipped (not on a Linux system
7)
8213/454 - p2p_feefilter.py passed, Duration: 4 s
Stripping whitespace from the regex match fixes the formatting. See:
0208/454 - feature_bip68_sequence.py passed, Duration: 9 s
1209/454 - rpc_bind.py --ipv4 skipped (not on a Linux system)
2210/454 - rpc_bind.py --ipv6 skipped (not on a Linux system)
3211/454 - rpc_bind.py --nonloopback skipped (not on a Linux system)
4212/454 - rpc_packages.py passed, Duration: 7 s