class_docstr: Unit tests specific to retry decorator.
class_docstr_tok: ["Unit","tests","specific","to","retry","decorator","."]
docstr: Test that retry is not triggered if raised exception is not in
  retryExceptions 
docstr_tok: ["Test","that","retry","is","not","triggered","if","raised","exception","is","not","in","retryExceptions"]
code: def testRetryRetryExceptionExcluded(self, mockTime, mockSleep):
      """Test that retry is not triggered if raised exception is not in
      retryExceptions"""
  
      self.mockSleepTime(mockTime, mockSleep)
  
      class TestExceptionA(Exception):
          pass
  
      class TestExceptionB(Exception):
          pass
  
      retryDecorator = decorators.retry(
          timeoutSec=1,
          initialRetryDelaySec=1,
          maxRetryDelaySec=10,
          retryExceptions=(TestExceptionA,),
      )
  
      @retryDecorator
      def testFunction():
          raise TestExceptionB("Test exception")
  
      with self.assertRaises(TestExceptionB):
          testFunction()
  
      self.assertEqual(mockSleep.call_count, 0)
  
imports: from mock import patch, call, Mock
  from nupic.support.unittesthelpers.testcasebase import unittest
  from nupic.support import decorators
label_desc: Use image node_id 5 for calling the RetryDecoratorTest obj's underlying member method code with example usage: obj.testRetryRetryExceptionExcluded(mockTime, mockSleep) without return types