Skip to content

tests: drop a repeated import of pathlib in test_hub.py - #129

Merged
MTSistemi merged 1 commit into
mainfrom
fix/test-hub-repeated-import
Nov 14, 2026
Merged

MTSistemi merged 1 commit into
mainfrom
fix/test-hub-repeated-import

Conversation

@MTSistemi

Copy link
Copy Markdown
Owner

Closes code scanning alert #538 (py/repeated-import, tests/test_hub.py:208): pathlib is already imported at the top of the module.

pathlib is imported at the top of the module; the second import inside test_the_warning_says_it_is_unsigned() was flagged by CodeQL as py/repeated-import (alert #538).
@MTSistemi
MTSistemi merged commit c92b9b9 into main Nov 14, 2026
5 checks passed
@MTSistemi
MTSistemi deleted the fix/test-hub-repeated-import branch November 14, 2026 18:39
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