  
  
  class TestSortStack(object):
  
      def get_sorted_stack(self, numbers):
          stack = MyStack()
          for x in numbers:
              stack.push(x)
          sorted_stack = stack.sort()
          return sorted_stack
  
 
</s> remove     def test_sort_stack(self):
 </s> add     def test_sort_stack(self, stack): </s> remove     "    def get_sorted_stack(self, numbers):\n",
    "        stack = MyStack()\n",
 </s> add     "    def get_sorted_stack(self, stack, numbers):\n", </s> remove     "    def get_sorted_stack(self, numbers):\n",
    "        stack = MyStack()\n",
 </s> add     "    def get_sorted_stack(self, stack, numbers):\n", </s> remove         sorted_stack = self.get_sorted_stack(numbers)
 </s> add         sorted_stack = self.get_sorted_stack(stack, numbers) </s> remove         sorted_stack = self.get_sorted_stack([1])
 </s> add         sorted_stack = self.get_sorted_stack(stack, [1])
    def get_sorted_stack(self, stack, numbers):
  
  
  class TestSortStack(object):
  
    def get_sorted_stack(self, stack, numbers):
    def get_sorted_stack(self, stack, numbers):
          for x in numbers:
              stack.push(x)
          sorted_stack = stack.sort()
          return sorted_stack
  
keep keep keep keep replace replace keep keep keep keep keep
 Add intermediate sort stack solution and test 
stacks_queues/sort_stack/test_sort_stack.py