summaryrefslogtreecommitdiff
path: root/dev-python/SaltTesting/files/SaltTesting-0.5.2-silence-DepricationWarning.patch
blob: 292a74c5c6483f45a63150e7993b165b28a97552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/salttesting/unit.py	2013-10-24 10:57:42.000000000 +0000
+++ b/salttesting/unit.py	2013-11-12 18:47:11.245838201 +0000
@@ -42,10 +42,10 @@
 class TestCase(_TestCase):
 
     def assertEquals(self, *args, **kwargs):
-        raise DeprecationWarning(
-            'The {0}() function is deprecated. Please start using {1}() '
-            'instead.'.format('assertEquals', 'assertEqual')
-        )
+        #raise DeprecationWarning(
+        #    'The {0}() function is deprecated. Please start using {1}() '
+        #    'instead.'.format('assertEquals', 'assertEqual')
+        #)
         return _TestCase.assertEquals(self, *args, **kwargs)
 
     def failUnlessEqual(self, *args, **kwargs):