r47328 - Remove unused code.

adiroiban-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Tue, 26 Apr 2016 00:58:08 -0600 (MDT)
Newsgroups gmane.comp.python.twisted.commits
Message-ID <[email protected]>
Author: adiroiban
Date: Tue Apr 26 00:58:04 2016
New Revision: 47328

Added:
   branches/getDeprecationSuppression-removal-6266/twisted/topfiles/6266.misc
Modified:
   branches/getDeprecationSuppression-removal-6266/twisted/python/test/test_util.py

Log:
Remove unused code.

Modified: branches/getDeprecationSuppression-removal-6266/twisted/python/test/test_util.py
==============================================================================
--- branches/getDeprecationSuppression-removal-6266/twisted/python/test/test_util.py	(original)
+++ branches/getDeprecationSuppression-removal-6266/twisted/python/test/test_util.py	Tue Apr 26 00:58:04 2016
@@ -844,22 +844,6 @@
 
 
 
-def _getDeprecationSuppression(f):
-    """
-    Returns a tuple of arguments needed to suppress deprecation warnings from
-    a specified function.
-
-    @param f: function to suppress dperecation warnings for
-    @type f: L{callable}
-
-    @return: tuple to add to C{suppress} attribute
-    """
-    return SUPPRESS(
-        category=DeprecationWarning,
-        message='%s was deprecated' % (fullyQualifiedName(f),))
-
-
-
 class InitGroupsTests(unittest.TestCase):
     """
     Tests for L{util.initgroups}.