-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Description
Describe bug
Hi,
I found that the test in yfinance/tests/test_ticker.py is broken due to the following error:
======================================================================
FAIL: test_empty_info (tests.test_ticker.TestTickerInfo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/eva/Documents/GitHub/yfinance/tests/test_ticker.py", line 1045, in test_empty_info
self.assertCountEqual(expected_keys, data.keys())
AssertionError: Element counts were not equal:
This is likely due to the fact that NEPT was de-listed from NASDAQ. Can I update this unit test to fix the issue? I'm happy to submit a PR since I'm looking to contribute to the project. Thanks!
Simple code that reproduces your problem
Simply run:
python3 -m unittest tests.test_ticker
Debug log from yf.enable_debug_mode()
N/A
Bad data proof
No response
yfinance
version
Version 0.2.65
Python version
No response
Operating system
No response
Metadata
Metadata
Assignees
Labels
No labels