Skip to content

Commit fe42a7f

Browse files
committed
windows fix
1 parent 184e8e3 commit fe42a7f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Lib/test/test_external_inspection.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def foo():
8686
p.kill()
8787
p.terminate()
8888
p.wait(timeout=SHORT_TIMEOUT)
89+
subprocess._cleanup()
8990

9091

9192
expected_stack_trace = [
@@ -173,6 +174,7 @@ def new_eager_loop():
173174
p.kill()
174175
p.terminate()
175176
p.wait(timeout=SHORT_TIMEOUT)
177+
subprocess._cleanup()
176178

177179
# sets are unordered, so we want to sort "awaited_by"s
178180
stack_trace[2].sort(key=lambda x: x[1])
@@ -244,6 +246,7 @@ async def main():
244246
p.kill()
245247
p.terminate()
246248
p.wait(timeout=SHORT_TIMEOUT)
249+
subprocess._cleanup()
247250

248251
# sets are unordered, so we want to sort "awaited_by"s
249252
stack_trace[2].sort(key=lambda x: x[1])
@@ -310,6 +313,7 @@ async def main():
310313
p.kill()
311314
p.terminate()
312315
p.wait(timeout=SHORT_TIMEOUT)
316+
subprocess._cleanup()
313317

314318
# sets are unordered, so we want to sort "awaited_by"s
315319
stack_trace[2].sort(key=lambda x: x[1])
@@ -379,6 +383,7 @@ async def main():
379383
p.kill()
380384
p.terminate()
381385
p.wait(timeout=SHORT_TIMEOUT)
386+
subprocess._cleanup()
382387

383388
# sets are unordered, so we want to sort "awaited_by"s
384389
stack_trace[2].sort(key=lambda x: x[1])
@@ -521,6 +526,7 @@ async def main():
521526
p.kill()
522527
p.terminate()
523528
p.wait(timeout=SHORT_TIMEOUT)
529+
subprocess._cleanup()
524530

525531
@skip_if_not_supported
526532
@unittest.skipIf(sys.platform == "linux" and not PROCESS_VM_READV_SUPPORTED,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy