Skip to content

Commit a855a6d

Browse files
committed
windows fix
1 parent 1d7ba5d commit a855a6d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Lib/test/test_external_inspection.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,11 @@ async def main():
514514
self.assertIn(('Task-1', []), entries)
515515
self.assertIn(('server task', [[['main'], 'Task-1', []]]), entries)
516516
self.assertIn(('echo client spam', [[['main'], 'Task-1', []]]), entries)
517+
518+
expected_stack = [[['echo_client_spam'], 'echo client spam', [[['main'], 'Task-1', []]]]]
519+
tasks_with_stack = [task for task in entries if task[1] == expected_stack]
520+
self.assertGreaterEqual(len(tasks_with_stack), 1000)
521+
517522
# the final task will have some random number, but it should for
518523
# sure be one of the echo client spam horde (In windows this is not true
519524
# for some reason)

0 commit comments

Comments
 (0)