From 2a5d048cd73dfba9b0285809bb1e5d3df45740c1 Mon Sep 17 00:00:00 2001 From: parulsethi Date: Mon, 12 Jun 2017 20:16:17 +0530 Subject: [PATCH] set cleanup_files True for wordrank tests --- gensim/test/test_wordrank_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gensim/test/test_wordrank_wrapper.py b/gensim/test/test_wordrank_wrapper.py index 2b185c4839..bc07ff5776 100644 --- a/gensim/test/test_wordrank_wrapper.py +++ b/gensim/test/test_wordrank_wrapper.py @@ -34,7 +34,7 @@ def setUp(self): self.wr_file = datapath('test_glove.txt') if not self.wr_path: return - self.test_model = wordrank.Wordrank.train(self.wr_path, self.corpus_file, self.out_name, iter=6, dump_period=5, period=5) + self.test_model = wordrank.Wordrank.train(self.wr_path, self.corpus_file, self.out_name, iter=6, dump_period=5, period=5, cleanup_files=True) def testLoadWordrankFormat(self): """Test model successfully loaded from Wordrank format file"""