  class TestSelectionSort(object):
  
      def test_selection_sort(self, func):
          print('None input')
          data = None
          func(data)
          assert_equal(data, None)
  
          print('Empty input')
          data = []
          func(data)
          assert_equal(data, [])
 
</s> remove         data = []
        func(data)
        assert_equal(data, [])
 </s> add         assert_equal(func([]), []) </s> remove         data = [5]
        func(data)
        assert_equal(data, [5])
 </s> add         assert_equal(func([5]), [5]) </s> remove from nose.tools import assert_equal
 </s> add from nose.tools import assert_equal, assert_raises </s> remove     "        data = None\n",
    "        func(data)\n",
    "        assert_equal(data, None)\n",
 </s> add     "        assert_raises(TypeError, func, None)\n", </s> remove     "        data = None\n",
    "        func(data)\n",
    "        assert_equal(data, None)\n",
 </s> add     "        assert_raises(TypeError, func, None)\n",
        assert_raises(TypeError, func, None)
  class TestSelectionSort(object):
  
      def test_selection_sort(self, func):
          print('None input')
        assert_raises(TypeError, func, None)
        assert_raises(TypeError, func, None)
        assert_raises(TypeError, func, None)
  
          print('Empty input')
          data = []
          func(data)
          assert_equal(data, [])
keep keep keep keep replace replace replace keep keep keep keep keep
 Update selection sort challenge (#131)

Update constraints, test cases, code, and tests. 
sorting_searching/selection_sort/test_selection_sort.py