code: def testNumbersForBitOutOfBounds(self):
      args = [10000]
      self.assertRaises(
          IndexError, self.patternMachine.numbersForBit, *args
      )
  
file_path: nupic-legacy/tests/unit/nupic/data/generators/pattern_machine_test.py
imports: import unittest
  from nupic.data.generators.pattern_machine import PatternMachine, ConsecutivePatternMachine
label_desc: Use image node_id 6 for calling the PatternMachineTest obj's underlying member method code with example usage: obj.testNumbersForBitOutOfBounds() without return types