summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-05-19 21:22:30 +0200
committerAaron Bauman <bman@gentoo.org>2020-06-02 00:28:00 -0400
commit958ac398c46bbd6356a774fddbe8b4ec8c5404f4 (patch)
tree185ee41c87ad8c02278b39db23449843452b30a2 /dev-python/nltk
parentdev-python/micawber: remove unused patch(es) (diff)
downloadgentoo-958ac398c46bbd6356a774fddbe8b4ec8c5404f4.tar.gz
gentoo-958ac398c46bbd6356a774fddbe8b4ec8c5404f4.tar.bz2
gentoo-958ac398c46bbd6356a774fddbe8b4ec8c5404f4.zip
dev-python/nltk: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'dev-python/nltk')
-rw-r--r--dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch b/dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch
deleted file mode 100644
index 0284aec02b9..00000000000
--- a/dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff --git a/nltk/test/corpus.doctest b/nltk/test/corpus.doctest
-index 5509fe2fd..0a34c9522 100644
---- a/nltk/test/corpus.doctest
-+++ b/nltk/test/corpus.doctest
-@@ -94,7 +94,7 @@ If the reader methods are called without any arguments, they will
- typically load all documents in the corpus.
-
- >>> len(inaugural.words())
-- 145735
-+ 149797
-
- If a corpus contains a README file, it can be accessed with a ``readme()`` method:
-
-@@ -387,8 +387,8 @@ examples illustrate the use of the wordlist corpora:
-
- >>> stopwords.fileids() # doctest: +ELLIPSIS
- ['arabic', 'azerbaijani', 'danish', 'dutch', 'english', 'finnish', 'french', ...]
-- >>> stopwords.words('portuguese') # doctest: +ELLIPSIS
-- ['de', 'a', 'o', 'que', 'e', 'do', 'da', 'em', 'um', 'para', ...]
-+ >>> sorted(stopwords.words('portuguese')) # doctest: +ELLIPSIS
-+ ['a', 'ao', 'aos', 'aquela', 'aquelas', 'aquele', 'aqueles', ...]
- >>> names.fileids()
- ['female.txt', 'male.txt']
- >>> names.words('male.txt') # doctest: +ELLIPSIS
-diff --git a/nltk/test/unit/test_wordnet.py b/nltk/test/unit/test_wordnet.py
-index a7b26ac91..a1df3d396 100644
---- a/nltk/test/unit/test_wordnet.py
-+++ b/nltk/test/unit/test_wordnet.py
-@@ -204,7 +204,7 @@ class WordnNetDemo(unittest.TestCase):
- u'preobrat',
- u'preobrat_v_miĊĦljenju'
- ]
-- self.assertEqual(S('about-face.n.02').lemma_names(lang='slv'), expected)
-+ self.assertEqual(sorted(S('about-face.n.02').lemma_names(lang='slv')), sorted(expected))
-
- def test_iterable_type_for_all_lemma_names(self):
- # Duck-test for iterables.