Skip to content

Commit 9f39465

Browse files
author
Cipher
committed
fix: remove unused variable in test_unspecified_reader_falls_back_silently
Pre-commit ci caught unused variable original_readers that was defined but never used. Remove it to pass ruff check. Signed-off-by: Cipher <cipher@openclaw.ai>
1 parent 90f5b03 commit 9f39465

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/transforms/test_load_image.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,6 @@ def test_unspecified_reader_falls_back_silently(self):
532532

533533
# Patch SUPPORTED_READERS entries to raise OptionalImportError
534534
# This simulates optional packages not being installed
535-
original_readers = {}
536535
from monai.transforms.io.array import SUPPORTED_READERS
537536

538537
# Patch a few readers to fail (e.g., ITKReader)

0 commit comments

Comments
 (0)