  class TestInsertionSort(object):
  
      def test_insertion_sort(self):
          print('None input')
          assert_raises(TypeError, insertion_sort.sort, None)
  
          print('Empty input')
          assert_equal(insertion_sort.sort([]), [])
  
 
</s> remove         data = None
        insertion_sort(data)
        assert_equal(data, None)
 </s> add         assert_raises(TypeError, insertion_sort.sort, None) </s> remove         data = []
        insertion_sort(data)
        assert_equal(data, [])
 </s> add         assert_equal(insertion_sort.sort([]), []) </s> remove from nose.tools import assert_equal
 </s> add from nose.tools import assert_equal, assert_raises
        insertion_sort = InsertionSort()

  class TestInsertionSort(object):
  
      def test_insertion_sort(self):
        insertion_sort = InsertionSort()

          print('None input')
          assert_raises(TypeError, insertion_sort.sort, None)
  
          print('Empty input')
          assert_equal(insertion_sort.sort([]), [])
  
keep keep add keep keep keep keep keep keep
 Update insertion sort challenge (#129)

Update constraints, test cases, code, and tests. 
sorting_searching/insertion_sort/test_insertion_sort.py