Skip to content

Fix for Module is imported with 'import' and 'import from'#123

Closed
tcarroll-kroll wants to merge 1 commit intomainfrom
finding-autofix-917b0a5b
Closed

Fix for Module is imported with 'import' and 'import from'#123
tcarroll-kroll wants to merge 1 commit intomainfrom
finding-autofix-917b0a5b

Conversation

@tcarroll-kroll
Copy link
Copy Markdown
Member

Use a single import style for asyncio in tests/functional/conftest.py.
The least invasive fix is to remove import asyncio (line 1) and keep the existing from asyncio import Future, Queue, Task, create_task import, since the latter already provides the symbols used for typing/task creation in this file.

Change needed:

  • File: tests/functional/conftest.py
  • Region: top import block
  • Edit: delete import asyncio line only; keep all other imports unchanged.

No new methods, definitions, or dependencies are required.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant