Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import unittest
def add(x, y):
return x + y
class MyTest(unittest.TestCase):
def test(self):
self.assertEqual(add(3, 4), 7)
13 ↛ 14line 13 didn't jump to line 14, because the condition on line 13 was never trueif __name__ == '__main__':
unittest.main()