  except ImportError:
      yaml = None
  
  
  import unittest
  try:
      import unittest.skip
  except ImportError:  # python < 2.7
      from unittest import TestCase
      import functools
  
      def skip(reason):
          # Pasted from py27/lib/unittest/case.py
          """
          Unconditionally skip a test.
          """
          def decorator(test_item):
              if not (isinstance(test_item, type) and issubclass(test_item, TestCase)):
                  @functools.wraps(test_item)
                  def skip_wrapper(*args, **kwargs):
                      pass
                  test_item = skip_wrapper
  
              test_item.__unittest_skip__ = True
              test_item.__unittest_skip_why__ = reason
              return test_item
          return decorator
  
      unittest.skip = skip
  
  
  # xml.etree.parse only throws ParseError for python >= 2.7
  try:
      from xml.etree import ParseError as ETParseError
  except ImportError:  # python < 2.7
      ETParseError = None
 
</s>
  except ImportError:
      yaml = None
  
  



























  # xml.etree.parse only throws ParseError for python >= 2.7
  try:
      from xml.etree import ParseError as ETParseError
  except ImportError:  # python < 2.7
      ETParseError = None
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 Make filtering optional, and pluggable.
rest_framework/compat.py