      def test_stack_min(self):
          print('Test: Push on empty stack, non-empty stack')
          stack = StackMin()
          stack.push(5)
          assert_equal(stack.peek(), 5)
          assert_equal(stack.minimum(), 5)
          stack.push(1)
          assert_equal(stack.peek(), 1)
          assert_equal(stack.minimum(), 1)
          stack.push(3)
          assert_equal(stack.peek(), 3)
 
</s> remove         assert_equal(stack.peek(), 1)
        assert_equal(stack.minimum(), 1)
 </s> add         self.assertEqual(stack.peek(), 1)
        self.assertEqual(stack.minimum(), 1) </s> remove         assert_equal(stack.peek(), 3)
        assert_equal(stack.minimum(), 1)
 </s> add         self.assertEqual(stack.peek(), 3)
        self.assertEqual(stack.minimum(), 1) </s> remove         assert_equal(stack.peek(), 0)
        assert_equal(stack.minimum(), 0)
 </s> add         self.assertEqual(stack.peek(), 0)
        self.assertEqual(stack.minimum(), 0) </s> remove class TestStackMin(object):
 </s> add class TestStackMin(unittest.TestCase): </s> remove         assert_equal(stack.pop(), 3)
        assert_equal(stack.peek(), 2)
        assert_equal(stack.pop(), 2)
        assert_equal(stack.peek(), 1)
        assert_equal(stack.is_empty(), False)
        assert_equal(stack.pop(), 1)
        assert_equal(stack.peek(), None)
        assert_equal(stack.is_empty(), True)
 </s> add         self.assertEqual(stack.pop(), 3)
        self.assertEqual(stack.peek(), 2)
        self.assertEqual(stack.pop(), 2)
        self.assertEqual(stack.peek(), 1)
        self.assertEqual(stack.is_empty(), False)
        self.assertEqual(stack.pop(), 1)
        self.assertEqual(stack.peek(), None)
        self.assertEqual(stack.is_empty(), True)
        self.assertEqual(stack.peek(), 5)
        self.assertEqual(stack.minimum(), 5)
      def test_stack_min(self):
          print('Test: Push on empty stack, non-empty stack')
          stack = StackMin()
          stack.push(5)
        self.assertEqual(stack.peek(), 5)
        self.assertEqual(stack.minimum(), 5)
        self.assertEqual(stack.peek(), 5)
        self.assertEqual(stack.minimum(), 5)
          stack.push(1)
          assert_equal(stack.peek(), 1)
          assert_equal(stack.minimum(), 1)
          stack.push(3)
          assert_equal(stack.peek(), 3)
keep keep keep keep replace replace keep keep keep keep keep
 #273: Remove nose dependency for stacks_queues/ (#276) 
stacks_queues/stack_min/test_stack_min.py