12 lines
523 B
Diff
12 lines
523 B
Diff
--- a/tests/test_process_tests.py 2023-11-01 14:34:11.000000000 -0300
|
|
+++ b/tests/test_process_tests.py 2023-12-05 19:18:06.663214341 -0300
|
|
@@ -30,7 +30,7 @@
|
|
|
|
|
|
def test_socket():
|
|
- with TestProcess('python', '-mhttp.server', '0') as proc:
|
|
+ with TestProcess('python', '-u', '-mhttp.server', '0') as proc:
|
|
with dump_on_error(proc.read, 'SERVER'):
|
|
wait_for_strings(proc.read, TIMEOUT, 'Serving HTTP on')
|
|
(port,) = re.match(r'Serving HTTP on .*? port (\d+) ', proc.read()).groups()
|