Skip to content

Commit

Permalink
Fix test_data_providers test_yahoo test (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodsp-ibm authored Feb 15, 2024
1 parent 4ab7f4c commit 8af9cec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/data_providers/test_data_providers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This code is part of a Qiskit project.
#
# (C) Copyright IBM 2019, 2023.
# (C) Copyright IBM 2019, 2024.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
Expand Down Expand Up @@ -200,8 +200,8 @@ def test_exchangedata(self):
self.fail(f"Test of ExchangeDataProvider failed: {str(ex)}")

@data(
[["MSFT", "AAPL"], [[1344, 474.0], [474.0, 211.0]], [[1.0, 2.99e-05], [2.99e-05, 1.0]]],
["MSFT", 1344.0, [[1.0]]],
[["MSFT", "AAPL"], [[1339, 473.0], [473.0, 210.0]], [[1.0, 2.99e-05], [2.99e-05, 1.0]]],
["MSFT", 1339.0, [[1.0]]],
)
@unpack
def test_yahoo(self, tickers, covariance, similarity):
Expand Down

0 comments on commit 8af9cec

Please sign in to comment.