  from nose.tools import assert_equal, assert_raises
  
  
  class TestSortedMatrix(object):
  
      def test_find_val(self):
          matrix = [[20, 40, 63, 80],
                    [30, 50, 80, 90],
                    [40, 60, 110, 110],
 
</s> remove     "class TestSortedMatrix(object):\n",
 </s> add     "class TestSortedMatrix(unittest.TestCase):\n", </s> remove     "class TestSortedMatrix(object):\n",
 </s> add     "class TestSortedMatrix(unittest.TestCase):\n", </s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove         assert_raises(TypeError, sorted_matrix.find_val, None, None)
        assert_equal(sorted_matrix.find_val(matrix, 1000), None)
        assert_equal(sorted_matrix.find_val(matrix, 60), (2, 1))
 </s> add         self.assertRaises(TypeError, sorted_matrix.find_val, None, None)
        self.assertEqual(sorted_matrix.find_val(matrix, 1000), None)
        self.assertEqual(sorted_matrix.find_val(matrix, 60), (2, 1)) </s> remove     "        assert_raises(TypeError, sorted_matrix.find_val, None, None)\n",
    "        assert_equal(sorted_matrix.find_val(matrix, 1000), None)\n",
    "        assert_equal(sorted_matrix.find_val(matrix, 60), (2, 1))\n",
 </s> add     "        self.assertRaises(TypeError, sorted_matrix.find_val, None, None)\n",
    "        self.assertEqual(sorted_matrix.find_val(matrix, 1000), None)\n",
    "        self.assertEqual(sorted_matrix.find_val(matrix, 60), (2, 1))\n",
class TestSortedMatrix(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestSortedMatrix(unittest.TestCase):
  
      def test_find_val(self):
          matrix = [[20, 40, 63, 80],
                    [30, 50, 80, 90],
                    [40, 60, 110, 110],
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for sorting_searching/ (#278) 
sorting_searching/search_sorted_matrix/test_search_sorted_matrix.py