Skip to content

Commit

Permalink
Fix test_data_providers test_yahoo test (#328) (#329)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8af9cec)

Co-authored-by: Steve Wood <[email protected]>
  • Loading branch information
mergify[bot] and woodsp-ibm authored Feb 15, 2024
1 parent 59a4bf9 commit fc6dfbf
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 fc6dfbf

Please sign in to comment.