diff --git a/gensim/test/test_keyedvectors.py b/gensim/test/test_keyedvectors.py index ca0177c231..ae9935d857 100644 --- a/gensim/test/test_keyedvectors.py +++ b/gensim/test/test_keyedvectors.py @@ -420,7 +420,7 @@ def test_load_model_and_vocab_file_ignore(self): @unittest.skipUnless(KERAS_INSTALLED, 'keras needs to be installed for this test') class WordEmbeddingsKeyedVectorsTest(unittest.TestCase): def setUp(self): - self.vectors = EuclideanKeyedVectors.load_word2vec_format( + self.vectors = KeyedVectors.load_word2vec_format( datapath('euclidean_vectors.bin'), binary=True, datatype=np.float64) def test_get_keras_embedding_word_index_none(self):