Use random_sample instead of ndarray for random array (#3083)

This commit is contained in:
bogdankostic 2022-08-22 13:19:45 +02:00 committed by GitHub
parent 149224fe3a
commit b03de53716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ class TestOpenSearchDocumentStore:
# Constants
query_emb = np.ndarray(shape=(2, 2), dtype=float)
query_emb = np.random.random_sample(size=(2, 2))
index_name = "myindex"
# Fixtures