We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b35cd87 commit 5bee777Copy full SHA for 5bee777
tests/test_prices.py
@@ -1,4 +1,3 @@
1
-import datetime
2
import datetime as _dt
3
import os
4
import unittest
@@ -49,7 +48,7 @@ def test_download_multi_large_interval(self):
49
48
def test_download_multi_small_interval(self):
50
use_tkrs = ["AAPL", "0Q3.DE", "ATVI"]
51
df = yf.download(use_tkrs, period="1d", interval="5m")
52
- self.assertEqual(df.index.tz, datetime.timezone.utc)
+ self.assertEqual(df.index.tz, _dt.timezone.utc)
53
54
def test_download_with_invalid_ticker(self):
55
#Checks if using an invalid symbol gives the same output as not using an invalid symbol in combination with a valid symbol (AAPL)
0 commit comments