  class TestPriorityQueue(object):
  
      def test_priority_queue(self):
          priority_queue = PriorityQueue()
          assert_equal(priority_queue.extract_min(), None)
          priority_queue.insert(PriorityQueueNode('a', 20))
          priority_queue.insert(PriorityQueueNode('b', 5))
          priority_queue.insert(PriorityQueueNode('c', 15))
          priority_queue.insert(PriorityQueueNode('d', 22))
          priority_queue.insert(PriorityQueueNode('e', 40))
 
</s> remove class TestPriorityQueue(object):
 </s> add class TestPriorityQueue(unittest.TestCase): </s> remove     "        assert_equal(priority_queue.extract_min(), None)\n",
 </s> add     "        self.assertEqual(priority_queue.extract_min(), None)\n", </s> remove     "        assert_equal(priority_queue.extract_min(), None)\n",
 </s> add     "        self.assertEqual(priority_queue.extract_min(), None)\n", </s> remove from nose.tools import assert_equal
 </s> add import unittest </s> remove     "class TestPriorityQueue(object):\n",
 </s> add     "class TestPriorityQueue(unittest.TestCase):\n",
        self.assertEqual(priority_queue.extract_min(), None)
  class TestPriorityQueue(object):
  
      def test_priority_queue(self):
          priority_queue = PriorityQueue()
        self.assertEqual(priority_queue.extract_min(), None)
          priority_queue.insert(PriorityQueueNode('a', 20))
          priority_queue.insert(PriorityQueueNode('b', 5))
          priority_queue.insert(PriorityQueueNode('c', 15))
          priority_queue.insert(PriorityQueueNode('d', 22))
          priority_queue.insert(PriorityQueueNode('e', 40))
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for arrays_strings/ (#274) 
arrays_strings/priority_queue/test_priority_queue.py