  from nose.tools import assert_equal, assert_raises
  
  
  class TestSteps(object):
  
      def test_steps(self):
          steps = Steps()
          assert_raises(TypeError, steps.count_ways, None)
          assert_raises(TypeError, steps.count_ways, -1)
 
</s> remove         assert_raises(TypeError, steps.count_ways, None)
        assert_raises(TypeError, steps.count_ways, -1)
        assert_equal(steps.count_ways(0), 1)
        assert_equal(steps.count_ways(1), 1)
        assert_equal(steps.count_ways(2), 2)
        assert_equal(steps.count_ways(3), 4)
        assert_equal(steps.count_ways(4), 7)
        assert_equal(steps.count_ways(10), 274)
 </s> add         self.assertRaises(TypeError, steps.count_ways, None)
        self.assertRaises(TypeError, steps.count_ways, -1)
        self.assertEqual(steps.count_ways(0), 1)
        self.assertEqual(steps.count_ways(1), 1)
        self.assertEqual(steps.count_ways(2), 2)
        self.assertEqual(steps.count_ways(3), 4)
        self.assertEqual(steps.count_ways(4), 7)
        self.assertEqual(steps.count_ways(10), 274) </s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove class TestPairParentheses(object):
 </s> add class TestPairParentheses(unittest.TestCase): </s> remove     "class TestSteps(object):\n",
 </s> add     "class TestSteps(unittest.TestCase):\n", </s> remove     "class TestSteps(object):\n",
 </s> add     "class TestSteps(unittest.TestCase):\n",
class TestSteps(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestSteps(unittest.TestCase):
  
      def test_steps(self):
          steps = Steps()
          assert_raises(TypeError, steps.count_ways, None)
          assert_raises(TypeError, steps.count_ways, -1)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for recursion_dynamic/ (#280) 
recursion_dynamic/steps/test_steps.py