  from nose.tools import assert_equal, assert_raises
  
  
  class TestLongestIncreasingSubseq(object):
  
      def test_longest_increasing_subseq(self):
          subseq = Subsequence()
          assert_raises(TypeError, subseq.longest_inc_subseq, None)
          assert_equal(subseq.longest_inc_subseq([]), [])
 
</s> remove         assert_raises(TypeError, subseq.longest_inc_subseq, None)
        assert_equal(subseq.longest_inc_subseq([]), [])
 </s> add         self.assertRaises(TypeError, subseq.longest_inc_subseq, None)
        self.assertEqual(subseq.longest_inc_subseq([]), []) </s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove class TestMaxProfit(object):
 </s> add class TestMaxProfit(unittest.TestCase): </s> remove class TestSteps(object):
 </s> add class TestSteps(unittest.TestCase): </s> remove class TestMatrixMultiplicationCost(object):
 </s> add class TestMatrixMultiplicationCost(unittest.TestCase):
class TestLongestIncreasingSubseq(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestLongestIncreasingSubseq(unittest.TestCase):
  
      def test_longest_increasing_subseq(self):
          subseq = Subsequence()
          assert_raises(TypeError, subseq.longest_inc_subseq, None)
          assert_equal(subseq.longest_inc_subseq([]), [])
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for recursion_dynamic/ (#280) 
recursion_dynamic/longest_inc_subseq/test_longest_increasing_subseq.py