  class TestSelectionSort(object):
  
      def test_selection_sort(self, func):
          print('None input')
          assert_raises(TypeError, func, None)
  
          print('Empty input')
          assert_equal(func([]), [])
  
          print('One element')
 
</s> remove class TestSelectionSort(object):
 </s> add class TestSelectionSort(unittest.TestCase): </s> remove         assert_equal(func([]), [])
 </s> add         self.assertEqual(func([]), []) </s> remove         assert_raises(TypeError, merge_sort.sort, None)
 </s> add         self.assertRaises(TypeError, merge_sort.sort, None) </s> remove         assert_raises(TypeError, quick_sort.sort, None)
 </s> add         self.assertRaises(TypeError, quick_sort.sort, None) </s> remove         assert_raises(TypeError, insertion_sort.sort, None)
 </s> add         self.assertRaises(TypeError, insertion_sort.sort, None)
        self.assertRaises(TypeError, func, None)
  class TestSelectionSort(object):
  
      def test_selection_sort(self, func):
          print('None input')
        self.assertRaises(TypeError, func, None)
  
          print('Empty input')
          assert_equal(func([]), [])
  
          print('One element')
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for sorting_searching/ (#278) 
sorting_searching/selection_sort/test_selection_sort.py