def test_stacks ( self ): '''test stacks (push/pop)''' push ( a = 1, b = 2 ) self.failUnless ( pop ( 'a' ) == 1 and pop ( 'b' ) == 2 )
def test_stacks(): """test stacks (push/pop)""" push(a=1, b=2) assert pop('a') == 1 assert pop('b') == 2
def test_stacks(self): '''test stacks (push/pop)''' push(a=1, b=2) self.failUnless(pop('a') == 1 and pop('b') == 2)