Skip to content

Commit 4b1058e

Browse files
Potential fix for pull request finding 'Module is imported with 'import' and 'import from''
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent ac4315b commit 4b1058e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from pathlib import Path
2121
from datetime import datetime, timezone
2222
from unittest.mock import MagicMock
23+
import specify_cli.extensions as _ext_module
2324

2425
from tests.conftest import strip_ansi
2526
from specify_cli.extensions import (
@@ -1298,7 +1299,6 @@ def test_copytree_failure_restores_stranded_config(
12981299
rollback path must write the rescued bytes back to dest_dir and restore
12991300
the original file mode, while leaving the extension unregistered.
13001301
"""
1301-
import specify_cli.extensions as _ext_module
13021302
import stat
13031303

13041304
manager = ExtensionManager(project_dir)

0 commit comments

Comments
 (0)