  from nose.tools import assert_equal, assert_raises
  
  
  class TestArray(object):
  
      def test_search_sorted_array(self):
          array = Array()
          assert_raises(TypeError, array.search_sorted_array, None)
          assert_equal(array.search_sorted_array([3, 1, 2], 0), None)
 
</s> remove         assert_raises(TypeError, array.search_sorted_array, None)
        assert_equal(array.search_sorted_array([3, 1, 2], 0), None)
        assert_equal(array.search_sorted_array([3, 1, 2], 0), None)
 </s> add         self.assertRaises(TypeError, array.search_sorted_array, None)
        self.assertEqual(array.search_sorted_array([3, 1, 2], 0), None)
        self.assertEqual(array.search_sorted_array([3, 1, 2], 0), None) </s> remove class TestArray(object):
 </s> add class TestArray(unittest.TestCase): </s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove         assert_equal(array.search_sorted_array(data, val=1), 3)
 </s> add         self.assertEqual(array.search_sorted_array(data, val=1), 3) </s> remove class TestSelectionSort(object):
 </s> add class TestSelectionSort(unittest.TestCase):
class TestArray(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestArray(unittest.TestCase):
  
      def test_search_sorted_array(self):
          array = Array()
          assert_raises(TypeError, array.search_sorted_array, None)
          assert_equal(array.search_sorted_array([3, 1, 2], 0), None)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for sorting_searching/ (#278) 
sorting_searching/rotated_array_search/test_search_sorted_array.py