[Python-modules-commits] [afew] 06/07: Drop 0001-fix-failing-tests.patch

Free Ekanayaka freee at moszumanska.debian.org
Tue Oct 31 21:12:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

freee pushed a commit to branch master
in repository afew.

commit 0c63dafc406ce9e8459a2aae4b736cc05e3d5d86
Author: Free Ekanayaka <freee at debian.org>
Date:   Mon Oct 30 13:50:55 2017 +0000

    Drop 0001-fix-failing-tests.patch
---
 debian/patches/0001-fix-failing-tests.patch | 44 -----------------------------
 debian/patches/series                       |  1 -
 2 files changed, 45 deletions(-)

diff --git a/debian/patches/0001-fix-failing-tests.patch b/debian/patches/0001-fix-failing-tests.patch
deleted file mode 100644
index a9b98f4..0000000
--- a/debian/patches/0001-fix-failing-tests.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From: Free Ekanayaka <freee at debian.org>
-Date: Fri, 23 Dec 2016 10:04:40 +0000
-Subject: fix-failing-tests
-
-Fix failing tests due to Python 2 vs 3 idioms.
----
- afew/tests/test_settings.py | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/afew/tests/test_settings.py b/afew/tests/test_settings.py
-index b34da59..551cc00 100644
---- a/afew/tests/test_settings.py
-+++ b/afew/tests/test_settings.py
-@@ -33,11 +33,11 @@ class TestFilterRegistry(unittest.TestCase):
-                 return 'class'
-         registry = FilterRegistry.FilterRegistry([FakeRegistry()])
- 
--        self.assertEquals('class', registry['test'])
-+        self.assertEqual('class', registry['test'])
- 
-     def test_all_builtin_FilterRegistrys_exist(self):
-         from afew import FilterRegistry
--        self.assertEquals(['FolderNameFilter',
-+        self.assertEqual(sorted(['FolderNameFilter',
-                            'ArchiveSentMailsFilter',
-                            'ClassifyingFilter',
-                            'InboxFilter',
-@@ -46,13 +46,13 @@ class TestFilterRegistry(unittest.TestCase):
-                            'KillThreadsFilter',
-                            'SentMailsFilter',
-                            'HeaderMatchingFilter',
--                           'ListMailsFilter'],
--                          FilterRegistry.all_filters.keys())
-+                           'ListMailsFilter']),
-+                          sorted(FilterRegistry.all_filters.keys()))
- 
-     def test_add_FilterRegistry(self):
-         from afew import FilterRegistry
-         try:
-             FilterRegistry.all_filters['test'] = 'class'
--            self.assertEquals('class', FilterRegistry.all_filters['test'])
-+            self.assertEqual('class', FilterRegistry.all_filters['test'])
-         finally:
-             del FilterRegistry.all_filters['test']
diff --git a/debian/patches/series b/debian/patches/series
index 7a2ba10..e69de29 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +0,0 @@
-0001-fix-failing-tests.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/afew.git



More information about the Python-modules-commits mailing list