  from nose.tools import assert_equal, assert_raises
  
  
  class TestSumTwo(object):
  
      def test_sum_two(self):
          solution = Solution()
          assert_raises(TypeError, solution.sum_two, None)
          assert_equal(solution.sum_two(5, 7), 12)
 
</s> remove         assert_raises(TypeError, solution.sum_two, None)
        assert_equal(solution.sum_two(5, 7), 12)
        assert_equal(solution.sum_two(-5, -7), -12)
        assert_equal(solution.sum_two(5, -7), -2)
 </s> add         self.assertRaises(TypeError, solution.sum_two, None)
        self.assertEqual(solution.sum_two(5, 7), 12)
        self.assertEqual(solution.sum_two(-5, -7), -12)
        self.assertEqual(solution.sum_two(5, -7), -2) </s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove class TestMathOps(object):
 </s> add class TestMathOps(unittest.TestCase): </s> remove class TestSolution(object):
 </s> add class TestSolution(unittest.TestCase): </s> remove class TestSubTwo(object):
 </s> add class TestSubTwo(unittest.TestCase):
class TestSumTwo(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestSumTwo(unittest.TestCase):
  
      def test_sum_two(self):
          solution = Solution()
          assert_raises(TypeError, solution.sum_two, None)
          assert_equal(solution.sum_two(5, 7), 12)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for math_probability/ (#281) 
math_probability/sum_two/test_sum_two.py