          return Response('foo')
  
  
  class ThrottlingTests(TestCase):
      def setUp(self):
          """
          Reset the cache so that no throttles will be active
          """
 
</s> remove         if isinstance(exc, exceptions.Throttled):
 </s> add         if isinstance(exc, exceptions.Throttled) and exc.wait is not None: </s> remove from rest_framework.throttling import UserRateThrottle, ScopedRateThrottle
 </s> add from rest_framework.throttling import BaseThrottle, UserRateThrottle, ScopedRateThrottle
class MockView_NonTimeThrottling(APIView):
    throttle_classes = (NonTimeThrottle,)

    def get(self, request):
        return Response('foo')


          return Response('foo')
  
  
class MockView_NonTimeThrottling(APIView):
    throttle_classes = (NonTimeThrottle,)

    def get(self, request):
        return Response('foo')


  class ThrottlingTests(TestCase):
      def setUp(self):
          """
          Reset the cache so that no throttles will be active
          """
keep keep add keep keep keep keep keep
 don't set X-Throttle-Wait-Second header if throttle wait is None 
rest_framework/tests/test_throttling.py