  from nose.tools import assert_equal, assert_raises
  
  
  class TestBstSecondLargest(object):
  
      def test_bst_second_largest(self):
          bst = Solution(None)
          assert_raises(TypeError, bst.find_second_largest)
          root = Node(10)
 
</s> remove         assert_raises(TypeError, bst.find_second_largest)
 </s> add         self.assertRaises(TypeError, bst.find_second_largest) </s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove class TestInvertTree(object):
 </s> add class TestInvertTree(unittest.TestCase): </s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove     "class TestBstSecondLargest(object):\n",
 </s> add     "class TestBstSecondLargest(unittest.TestCase):\n",
class TestBstSecondLargest(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestBstSecondLargest(unittest.TestCase):
  
      def test_bst_second_largest(self):
          bst = Solution(None)
          assert_raises(TypeError, bst.find_second_largest)
          root = Node(10)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for graphs_trees/ (#277) 
graphs_trees/bst_second_largest/test_bst_second_largest.py