From 13578d4db65a9e2f15e40b8717c396705568682e Mon Sep 17 00:00:00 2001 From: Menshikh Ivan Date: Tue, 5 Sep 2017 15:40:34 +0500 Subject: [PATCH] Add AppVeyor for all builds (#1565) * init run * rm dup * remove buggy test --- appveyor.yml | 1 - gensim/test/test_sklearn_api.py | 9 --------- 2 files changed, 10 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index f51bf0c3f8..177c07fd93 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -50,7 +50,6 @@ install: - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" # Install the build and runtime dependencies of the project. - # Install the build and runtime dependencies of the project. - "%CMD_IN_ENV% pip install --timeout=60 --trusted-host 28daf2247a33ed269873-7b1aad3fab3cc330e1fd9d109892382a.r6.cf2.rackcdn.com -r continuous_integration/appveyor/requirements.txt" - "%CMD_IN_ENV% python setup.py bdist_wheel bdist_wininst" - ps: "ls dist" diff --git a/gensim/test/test_sklearn_api.py b/gensim/test/test_sklearn_api.py index 997b3d9fb1..8e37fa8c7f 100644 --- a/gensim/test/test_sklearn_api.py +++ b/gensim/test/test_sklearn_api.py @@ -865,15 +865,6 @@ def testTransform(self): self.assertTrue(numpy.allclose(transformed_docs[0], expected_docs[0], atol=1e-2)) self.assertTrue(numpy.allclose(transformed_docs[1], expected_docs[1], atol=1e-2)) - def testPartialFit(self): - for i in range(5): - self.model.partial_fit(X=self.corpus) # fit against the model again - - transformed = self.model.transform(list(self.corpus)[0]) - expected = numpy.array([0.77901173, 0.0232508, 0.02054655, 0.01769651, 0.01600487, 0.01478038, 0.01237056, 0.01194372, 0.01070444]) - passed = numpy.allclose(transformed[0], expected, atol=1e-2) - self.assertTrue(passed) - def testSetGetParams(self): # updating only one param self.model.set_params(var_converge=0.05)