  from nose.tools import assert_equal
  
  
  class TestInsertionSort(object):
  
      def test_insertion_sort(self):
 
</s> remove         data = None
        insertion_sort(data)
        assert_equal(data, None)
 </s> add         assert_raises(TypeError, insertion_sort.sort, None) </s> remove     "from nose.tools import assert_equal\n",
 </s> add     "from nose.tools import assert_equal, assert_raises\n", </s> remove     "from nose.tools import assert_equal\n",
 </s> add     "from nose.tools import assert_equal, assert_raises\n", </s> remove         insertion_sort(data)
        assert_equal(data, sorted(data))
 </s> add         assert_equal(insertion_sort.sort(data), sorted(data))
from nose.tools import assert_equal, assert_raises
from nose.tools import assert_equal, assert_raises
  
  
  class TestInsertionSort(object):
  
      def test_insertion_sort(self):
replace 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