class_docstr: Unit tests for all quick-start examples.
class_docstr_tok: ["Unit","tests","for","all","quick-start","examples","."]
docstr: Make sure the examples directory is in the correct location
docstr_tok: ["Make","sure","the","examples","directory","is","in","the","correct","location"]
code: def testExamplesDirExists(self):
      """Make sure the examples directory is in the correct location"""
      failMsg = (
          "Path to examples does not exist: %s"
          % ExamplesTest.examplesDir
      )
      self.assertTrue(os.path.exists(ExamplesTest.examplesDir), failMsg)
  
file_path: nupic-legacy/tests/unit/nupic/docs/examples_test.py
imports: import os
  import sys
  import unittest2
  import numpy
  from numpy.testing import assert_approx_equal
  import random
label_desc: Use image node_id 2 for calling the ExamplesTest obj's underlying member method code with example usage: obj.testExamplesDirExists() without return types