Skip to content
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

Generate resources for Central tests #498

Merged
merged 14 commits into from
Mar 11, 2022
6 changes: 3 additions & 3 deletions azext_iot/monitor/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ def start_multiple_monitors(
# TODO: remove when deprecating
# pylint: disable=no-member
tasks = (
asyncio.Task.all_tasks()
if sys.version_info < (3, 9)
else asyncio.all_tasks()
asyncio.Task.all_tasks(loop)
if sys.version_info < (3, 7)
else asyncio.all_tasks(loop)
)
for t in tasks: # pylint: disable=no-member
t.cancel()
Expand Down
Loading