summaryrefslogtreecommitdiff
path: root/dev-python/SaltTesting/files/SaltTesting-0.5.2-silence-DepricationWarning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/SaltTesting/files/SaltTesting-0.5.2-silence-DepricationWarning.patch')
-rw-r--r--dev-python/SaltTesting/files/SaltTesting-0.5.2-silence-DepricationWarning.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/SaltTesting/files/SaltTesting-0.5.2-silence-DepricationWarning.patch b/dev-python/SaltTesting/files/SaltTesting-0.5.2-silence-DepricationWarning.patch
new file mode 100644
index 00000000000..292a74c5c64
--- /dev/null
+++ b/dev-python/SaltTesting/files/SaltTesting-0.5.2-silence-DepricationWarning.patch
@@ -0,0 +1,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):