1 |
commit: 958ac398c46bbd6356a774fddbe8b4ec8c5404f4 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue May 19 19:22:30 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 2 04:28:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958ac398 |
7 |
|
8 |
dev-python/nltk: remove unused patch(es) |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
11 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
12 |
|
13 |
.../nltk/files/nltk-3.4.5-corpus-tests.patch | 37 ---------------------- |
14 |
1 file changed, 37 deletions(-) |
15 |
|
16 |
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 |
17 |
deleted file mode 100644 |
18 |
index 0284aec02b9..00000000000 |
19 |
--- a/dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch |
20 |
+++ /dev/null |
21 |
@@ -1,37 +0,0 @@ |
22 |
-diff --git a/nltk/test/corpus.doctest b/nltk/test/corpus.doctest |
23 |
-index 5509fe2fd..0a34c9522 100644 |
24 |
---- a/nltk/test/corpus.doctest |
25 |
-+++ b/nltk/test/corpus.doctest |
26 |
-@@ -94,7 +94,7 @@ If the reader methods are called without any arguments, they will |
27 |
- typically load all documents in the corpus. |
28 |
- |
29 |
- >>> len(inaugural.words()) |
30 |
-- 145735 |
31 |
-+ 149797 |
32 |
- |
33 |
- If a corpus contains a README file, it can be accessed with a ``readme()`` method: |
34 |
- |
35 |
-@@ -387,8 +387,8 @@ examples illustrate the use of the wordlist corpora: |
36 |
- |
37 |
- >>> stopwords.fileids() # doctest: +ELLIPSIS |
38 |
- ['arabic', 'azerbaijani', 'danish', 'dutch', 'english', 'finnish', 'french', ...] |
39 |
-- >>> stopwords.words('portuguese') # doctest: +ELLIPSIS |
40 |
-- ['de', 'a', 'o', 'que', 'e', 'do', 'da', 'em', 'um', 'para', ...] |
41 |
-+ >>> sorted(stopwords.words('portuguese')) # doctest: +ELLIPSIS |
42 |
-+ ['a', 'ao', 'aos', 'aquela', 'aquelas', 'aquele', 'aqueles', ...] |
43 |
- >>> names.fileids() |
44 |
- ['female.txt', 'male.txt'] |
45 |
- >>> names.words('male.txt') # doctest: +ELLIPSIS |
46 |
-diff --git a/nltk/test/unit/test_wordnet.py b/nltk/test/unit/test_wordnet.py |
47 |
-index a7b26ac91..a1df3d396 100644 |
48 |
---- a/nltk/test/unit/test_wordnet.py |
49 |
-+++ b/nltk/test/unit/test_wordnet.py |
50 |
-@@ -204,7 +204,7 @@ class WordnNetDemo(unittest.TestCase): |
51 |
- u'preobrat', |
52 |
- u'preobrat_v_miĊĦljenju' |
53 |
- ] |
54 |
-- self.assertEqual(S('about-face.n.02').lemma_names(lang='slv'), expected) |
55 |
-+ self.assertEqual(sorted(S('about-face.n.02').lemma_names(lang='slv')), sorted(expected)) |
56 |
- |
57 |
- def test_iterable_type_for_all_lemma_names(self): |
58 |
- # Duck-test for iterables. |