Ticket #7962: testing.txt.diff

File testing.txt.diff, 463 bytes (added by cgod, 16 years ago)
  • docs/testing.txt

     
    5858
    5959          import unittest
    6060
    61           class MyFuncTestCase(unittest.TestCase)
     61          class MyFuncTestCase(unittest.TestCase):
    6262              def testBasic(self):
    6363                  a = ['larry', 'curly', 'moe']
    6464                  self.assertEquals(my_func(a, 0), 'larry')
Back to Top