mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-24 17:22:15 +01:00
12 lines
348 B
Diff
12 lines
348 B
Diff
--- ./terminado/tests/basic_test.py.orig
|
|
+++ ./terminado/tests/basic_test.py
|
|
@@ -98,7 +98,7 @@
|
|
assert match is not None
|
|
pid = int(match.groups()[0])
|
|
else:
|
|
- pid = int(stdout.split("\n")[1])
|
|
+ pid = int(re.findall("[0-9]{1,9}", stdout)[0])
|
|
return pid
|
|
|
|
def close(self):
|