class_docstr: Unit tests specific to retry decorator.
class_docstr_tok: ["Unit","tests","specific","to","retry","decorator","."]
docstr: Test that retry is triggered if raised exception is in
  retryExceptions.
docstr_tok: ["Test","that","retry","is","triggered","if","raised","exception","is","in","retryExceptions","."]
code: def testRetryRetryExceptionIncluded(self, mockTime, mockSleep):
      """Test that retry is triggered if raised exception is in
      retryExceptions."""
  
      self.mockSleepTime(mockTime, mockSleep)
  
      retryDecorator = decorators.retry(
          timeoutSec=1,
          initialRetryDelaySec=1,
          maxRetryDelaySec=10,
          retryExceptions=(TestParentException,),
      )
  
      @retryDecorator
      def testFunction():
          raise TestChildException("Test exception")
  
      with self.assertRaises(TestChildException):
          testFunction()
  
      self.assertEqual(mockSleep.call_count, 1)
  
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 4 for calling the RetryDecoratorTest obj's underlying member method code with example usage: obj.testRetryRetryExceptionIncluded(mockTime, mockSleep) without return types