78bcfaa51aa59074492f011a4ff99e93a2b39c2f,test/finance/test_data_providers.py,TestDataProviders,test_exchangedata,#TestDataProviders#,122
Before Change
)
try:
lse.run()
self.fail("Test of DataOnDemandProvider should have failed due to the lack of a token.")
except QiskitFinanceError:
self.skipTest("Test of DataOnDemandProvider skipped due to the lack of a token.")
After Change
[1.00000000e+00, 8.44268222e-05],
[8.44268222e-05, 1.00000000e+00]
])
covariance = np.array(
[[2.693, -18.65],
[-18.65, 1304.422]])
with self.subTest("test ExchangeDataProvider get_covariance_matrix"):
np.testing.assert_array_almost_equal(lse.get_covariance_matrix(),
covariance, decimal=3)
with self.subTest("test ExchangeDataProvider get_similarity_matrix"):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: Qiskit/qiskit-aqua
Commit Name: 78bcfaa51aa59074492f011a4ff99e93a2b39c2f
Time: 2020-06-24
Author: manoel@us.ibm.com
File Name: test/finance/test_data_providers.py
Class Name: TestDataProviders
Method Name: test_exchangedata
Project Name: Rostlab/nalaf
Commit Name: fe41a42ff872debbc18f465f003a314f5ad19d29
Time: 2015-09-20
Author: carsten.uhlig@gmail.com
File Name: tests/utils/test_Tagger.py
Class Name: TestTmVarTagger
Method Name: test_generate_abstracts
Project Name: snipsco/snips-nlu
Commit Name: 3f6eeb9f152b324975c6b77eade8fddfa699dfa5
Time: 2017-06-01
Author: clement.doumouro@snips.ai
File Name: snips_nlu/tests/test_builtin_entities.py
Class Name: TestBuiltInEntities
Method Name: test_rustling_parser_should_parse