Skip to content

Commit acbd782

Browse files
committed
fix: remove unused mock imports to pass ruff linter
`call` and `patch` were imported but never referenced in the test file, causing the Ruff F401 check to fail in CI.
1 parent 86784fe commit acbd782

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_get_history_metadata.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
YFPricesMissingError instead of returning the metadata already cached.
1212
"""
1313
import unittest
14-
from unittest.mock import MagicMock, call, patch
14+
from unittest.mock import MagicMock
1515

1616
from yfinance.scrapers.history import PriceHistory
1717
from yfinance.exceptions import YFPricesMissingError

0 commit comments

Comments
 (0)