  from nose.tools import assert_equal
  from nose.tools import raises
  
  
  class TestCheckBalance(object):
  
      @raises(TypeError)
      def test_check_balance_empty(self):
          bst = BstBalance(None)
          bst.check_balance()
 
</s> remove     @raises(TypeError)
 </s> add  </s> remove from nose.tools import assert_equal
from nose.tools import raises
 </s> add import unittest </s> remove from nose.tools import assert_equal
from nose.tools import raises
 </s> add import unittest </s> remove from nose.tools import assert_equal
from nose.tools import raises
 </s> add import unittest </s> remove class TestBstValidate(object):
 </s> add class TestBstValidate(unittest.TestCase):
class TestCheckBalance(unittest.TestCase):
  from nose.tools import assert_equal
  from nose.tools import raises
  
  
class TestCheckBalance(unittest.TestCase):
  
      @raises(TypeError)
      def test_check_balance_empty(self):
          bst = BstBalance(None)
          bst.check_balance()
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for graphs_trees/ (#277) 
graphs_trees/check_balance/test_check_balance.py