Skip to content

Commit 1f9399b

Browse files
committed
Reorder ignore comments
1 parent ce06678 commit 1f9399b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/unittests/sources/test_azure.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2437,17 +2437,15 @@ def test_wb_invalid_ovf_env_xml_calls_read_azure_ovf(self, tmp_path):
24372437
def test_import_error_from_failed_import(self):
24382438
"""Attempt to import a module that is not present"""
24392439
try:
2440-
import nonexistent_module_that_will_never_exist # noqa: F401 # type: ignore[import-not-found]
2440+
import nonexistent_module_that_will_never_exist # type: ignore[import-not-found] # noqa: F401
24412441
except ImportError as error:
24422442
reportable_error = errors.ReportableErrorImportError(error=error)
24432443

24442444
assert (
24452445
reportable_error.reason == "error importing "
24462446
"nonexistent_module_that_will_never_exist library"
24472447
)
2448-
assert reportable_error.supporting_data["error"] == repr(
2449-
error
2450-
)
2448+
assert reportable_error.supporting_data["error"] == repr(error)
24512449

24522450

24532451
class TestReadAzureOvf:

0 commit comments

Comments
 (0)