diff options
Diffstat (limited to 'dev-python/kombu/files/kombu-2.1.1-add-assertIsInstance-with-unittest.patch')
-rw-r--r-- | dev-python/kombu/files/kombu-2.1.1-add-assertIsInstance-with-unittest.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/dev-python/kombu/files/kombu-2.1.1-add-assertIsInstance-with-unittest.patch b/dev-python/kombu/files/kombu-2.1.1-add-assertIsInstance-with-unittest.patch deleted file mode 100644 index d8a0ccc..0000000 --- a/dev-python/kombu/files/kombu-2.1.1-add-assertIsInstance-with-unittest.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/kombu/tests/utils.py 2012-02-07 17:57:27.000000000 +0100 -+++ b/kombu/tests/utils.py 2012-02-28 16:09:43.687489572 +0100 -@@ -23,6 +23,8 @@ - - if not hasattr(unittest.TestCase, "assertItemsEqual"): - assertItemsEqual = unittest.TestCase.assertSameElements -+ if not hasattr(unittest.TestCase, "assertIsInstance"): -+ assertIsInstance = lambda inst, obj, cls: unittest.TestCase.assertTrue(inst, isinstance(obj, cls)) - - - class Mock(mock.Mock): |