from numpy.testing import NumpyTest, NumpyTestCase

class test_Template(NumpyTestCase):

    def setUp(self): pass
        #print "TestCase initialization..."

    def test_foo(self): pass
        #print "testing foo"

    def test_bar(self): pass
        #print "testing bar"
      

if __name__ == '__main__':
    NumpyTest.main()

from numpy.testing import NumpyTest, NumpyTestCase

class test_Template(NumpyTestCase):

    def setUp(self):
        pass
        #print "TestCase initialization..."

    def test_foo(self):
        self.fail('neuroimaging.utils, odict, path, etc... have _NO_ tests!')

if __name__ == '__main__':
    NumpyTest().run()

Fix test example so it runs.
BUG: Fix test example so it runs.
  from numpy.testing import NumpyTest, NumpyTestCase
  
  class test_Template(NumpyTestCase):
  
-     def setUp(self): pass
+     def setUp(self):
+         pass
          #print "TestCase initialization..."
  
-     def test_foo(self): pass
+     def test_foo(self):
+         self.fail('neuroimaging.utils, odict, path, etc... have _NO_ tests!')
-         #print "testing foo"
- 
-     def test_bar(self): pass
-         #print "testing bar"
-       
  
  if __name__ == '__main__':
-     NumpyTest.main()
+     NumpyTest().run()
  
Fix test example so it runs.
## Code Before:
from numpy.testing import NumpyTest, NumpyTestCase

class test_Template(NumpyTestCase):

    def setUp(self): pass
        #print "TestCase initialization..."

    def test_foo(self): pass
        #print "testing foo"

    def test_bar(self): pass
        #print "testing bar"
      

if __name__ == '__main__':
    NumpyTest.main()

## Instruction:
Fix test example so it runs.
## Code After:
from numpy.testing import NumpyTest, NumpyTestCase

class test_Template(NumpyTestCase):

    def setUp(self):
        pass
        #print "TestCase initialization..."

    def test_foo(self):
        self.fail('neuroimaging.utils, odict, path, etc... have _NO_ tests!')

if __name__ == '__main__':
    NumpyTest().run()
