      scope = 'minutes'
  
  
  class MockView(APIView):
      throttle_classes = (User3SecRateThrottle,)
  
      def get(self, request):
          return Response('foo')
  
 
</s> remove from rest_framework.throttling import UserRateThrottle, ScopedRateThrottle
 </s> add from rest_framework.throttling import BaseThrottle, UserRateThrottle, ScopedRateThrottle </s> remove         if isinstance(exc, exceptions.Throttled):
 </s> add         if isinstance(exc, exceptions.Throttled) and exc.wait is not None:
class NonTimeThrottle(BaseThrottle):
    def allow_request(self, request, view):
        if not hasattr(self.__class__, 'called'):
            self.__class__.called = True
            return True
        return False 


      scope = 'minutes'
  
  
class NonTimeThrottle(BaseThrottle):
    def allow_request(self, request, view):
        if not hasattr(self.__class__, 'called'):
            self.__class__.called = True
            return True
        return False 


  class MockView(APIView):
      throttle_classes = (User3SecRateThrottle,)
  
      def get(self, request):
          return Response('foo')
  
keep keep add keep keep keep keep keep keep
 don't set X-Throttle-Wait-Second header if throttle wait is None 
rest_framework/tests/test_throttling.py