  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([]), [])
          seq = [3, 4, -1, 0, 6, 2, 3]
          expected = [-1, 0, 2, 3]
          assert_equal(subseq.longest_inc_subseq(seq), expected)
          print('Success: test_longest_increasing_subseq')
  
 
</s> remove         assert_equal(subseq.longest_inc_subseq(seq), expected)
 </s> add         self.assertEqual(subseq.longest_inc_subseq(seq), expected) </s> remove     "        assert_raises(TypeError, subseq.longest_inc_subseq, None)\n",
    "        assert_equal(subseq.longest_inc_subseq([]), [])\n",
 </s> add     "        self.assertRaises(TypeError, subseq.longest_inc_subseq, None)\n",
    "        self.assertEqual(subseq.longest_inc_subseq([]), [])\n", </s> remove     "        assert_raises(TypeError, subseq.longest_inc_subseq, None)\n",
    "        assert_equal(subseq.longest_inc_subseq([]), [])\n",
 </s> add     "        self.assertRaises(TypeError, subseq.longest_inc_subseq, None)\n",
    "        self.assertEqual(subseq.longest_inc_subseq([]), [])\n", </s> remove     "        assert_equal(subseq.longest_inc_subseq(seq), expected)\n",
 </s> add     "        self.assertEqual(subseq.longest_inc_subseq(seq), expected)\n", </s> remove     "        assert_equal(subseq.longest_inc_subseq(seq), expected)\n",
 </s> add     "        self.assertEqual(subseq.longest_inc_subseq(seq), expected)\n",
        self.assertRaises(TypeError, subseq.longest_inc_subseq, None)
        self.assertEqual(subseq.longest_inc_subseq([]), [])
  class TestLongestIncreasingSubseq(object):
  
      def test_longest_increasing_subseq(self):
          subseq = Subsequence()
        self.assertRaises(TypeError, subseq.longest_inc_subseq, None)
        self.assertEqual(subseq.longest_inc_subseq([]), [])
        self.assertRaises(TypeError, subseq.longest_inc_subseq, None)
        self.assertEqual(subseq.longest_inc_subseq([]), [])
          seq = [3, 4, -1, 0, 6, 2, 3]
          expected = [-1, 0, 2, 3]
          assert_equal(subseq.longest_inc_subseq(seq), expected)
          print('Success: test_longest_increasing_subseq')
  
keep keep keep keep replace replace keep keep keep keep keep
 #273: Remove nose dependency for recursion_dynamic/ (#280) 
recursion_dynamic/longest_inc_subseq/test_longest_increasing_subseq.py