  from nose.tools import assert_equal, assert_raises
  
  
  class TestPairParentheses(object):
  
      def test_pair_parentheses(self):
          parentheses = Parentheses()
          assert_raises(TypeError, parentheses.find_pair, None)
          assert_raises(ValueError, parentheses.find_pair, -1)
 
</s> remove         assert_raises(TypeError, parentheses.find_pair, None)
        assert_raises(ValueError, parentheses.find_pair, -1)
        assert_equal(parentheses.find_pair(0), [])
        assert_equal(parentheses.find_pair(1), ['()'])
        assert_equal(parentheses.find_pair(2), ['(())',
 </s> add         self.assertRaises(TypeError, parentheses.find_pair, None)
        self.assertRaises(ValueError, parentheses.find_pair, -1)
        self.assertEqual(parentheses.find_pair(0), [])
        self.assertEqual(parentheses.find_pair(1), ['()'])
        self.assertEqual(parentheses.find_pair(2), ['(())', </s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove     "class TestPairParentheses(object):\n",
 </s> add     "class TestPairParentheses(unittest.TestCase):\n", </s> remove     "class TestPairParentheses(object):\n",
 </s> add     "class TestPairParentheses(unittest.TestCase):\n", </s> remove class TestSteps(object):
 </s> add class TestSteps(unittest.TestCase):
class TestPairParentheses(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestPairParentheses(unittest.TestCase):
  
      def test_pair_parentheses(self):
          parentheses = Parentheses()
          assert_raises(TypeError, parentheses.find_pair, None)
          assert_raises(ValueError, parentheses.find_pair, -1)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for recursion_dynamic/ (#280) 
recursion_dynamic/n_pairs_parentheses/test_n_pairs_parentheses.py