      def test_delete_node(self):
          print('Test: Empty list, null node to delete')
          linked_list = MyLinkedList(None)
          linked_list.delete_node(None)
          assert_equal(linked_list.get_all_data(), [])
  
          print('Test: One node')
          head = Node(2)
          linked_list = MyLinkedList(head)
          linked_list.delete_node(head)
 
</s> remove class TestDeleteNode(object):
 </s> add class TestDeleteNode(unittest.TestCase): </s> remove         assert_equal(linked_list.get_all_data(), [None])
 </s> add         self.assertEqual(linked_list.get_all_data(), [None]) </s> remove         assert_equal(linked_list.get_all_data(), [])
 </s> add         self.assertEqual(linked_list.get_all_data(), []) </s> remove     "        assert_equal(linked_list.get_all_data(), [])\n",
 </s> add     "        self.assertEqual(linked_list.get_all_data(), [])\n", </s> remove     "        assert_equal(linked_list.get_all_data(), [])\n",
 </s> add     "        self.assertEqual(linked_list.get_all_data(), [])\n",
        self.assertEqual(linked_list.get_all_data(), [])
      def test_delete_node(self):
          print('Test: Empty list, null node to delete')
          linked_list = MyLinkedList(None)
          linked_list.delete_node(None)
        self.assertEqual(linked_list.get_all_data(), [])
  
          print('Test: One node')
          head = Node(2)
          linked_list = MyLinkedList(head)
          linked_list.delete_node(head)
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for linked_lists/ (#275) 
linked_lists/delete_mid/test_delete_mid.py