      def test_partition(self):
          print('Test: Empty list')
          linked_list = MyLinkedList(None)
          linked_list.partition(10)
          assert_equal(linked_list.get_all_data(), [])
  
          print('Test: One element list, left list empty')
          linked_list = MyLinkedList(Node(5))
          linked_list.partition(0)
          assert_equal(linked_list.get_all_data(), [5])
 
</s> remove         assert_equal(linked_list.get_all_data(), [5])
 </s> add         self.assertEqual(linked_list.get_all_data(), [5]) </s> remove class TestPartition(object):
 </s> add class TestPartition(unittest.TestCase): </s> remove         assert_equal(linked_list.get_all_data(), [5])
 </s> add         self.assertEqual(linked_list.get_all_data(), [5]) </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(), [])
 </s> add         self.assertEqual(linked_list.get_all_data(), [])
        self.assertEqual(linked_list.get_all_data(), [])
      def test_partition(self):
          print('Test: Empty list')
          linked_list = MyLinkedList(None)
          linked_list.partition(10)
        self.assertEqual(linked_list.get_all_data(), [])
  
          print('Test: One element list, left list empty')
          linked_list = MyLinkedList(Node(5))
          linked_list.partition(0)
          assert_equal(linked_list.get_all_data(), [5])
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for linked_lists/ (#275) 
linked_lists/partition/test_partition.py