Ticket #7962: testing.txt.diff
File testing.txt.diff, 463 bytes (added by , 16 years ago) |
---|
-
docs/testing.txt
58 58 59 59 import unittest 60 60 61 class MyFuncTestCase(unittest.TestCase) 61 class MyFuncTestCase(unittest.TestCase): 62 62 def testBasic(self): 63 63 a = ['larry', 'curly', 'moe'] 64 64 self.assertEquals(my_func(a, 0), 'larry')