8000 gh-133141: Relax test_async_global_awaited_by to fix flakyness by pablogsal · Pull Request #133368 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-133141: Relax test_async_global_awaited_by to fix flakyness #133368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 4, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Lib/test/test_external_inspection.py
  • Loading branch information
pablogsal committed May 4, 2025
commit 8e0b7dce9a1f96e21a9796535b4dd0c0626734d1
8 changes: 4 additions & 4 deletions Lib/test/test_external_inspection.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,10 +534,10 @@ async def main():
self.assertGreaterEqual(len(tasks_with_stack), 1000)

# the final task will have some random number, but it should for
# sure be one of the echo client spam horde (In windows this is not true
# for some reason)
if sys.platform != "win32":
self.assertEqual([[['_aexit', '__aexit__', 'echo_client_spam'], ANY]], entries[-1][2])```
# sure be one of the echo client spam horde (In windows this is not true
# for some reason)
if sys.platform != "win32":
self.assertEqual([[['_aexit', '__aexit__', 'echo_client_spam'], ANY]], entries[-1][2])
except PermissionError:
self.skipTest(
"Insufficient permissions to read the stack trace")
Expand Down
Loading
0