  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)
          assert_equal(solution.sum_two(-5, -7), -12)
          assert_equal(solution.sum_two(5, -7), -2)
          print('Success: test_sum_two')
  
  
  def main():
      test = TestSumTwo()
 
</s> remove class TestSumTwo(object):
 </s> add class TestSumTwo(unittest.TestCase): </s> remove         assert_raises(TypeError, solution.sub_two, None)
        assert_equal(solution.sub_two(7, 5), 2)
        assert_equal(solution.sub_two(-5, -7), 2)
        assert_equal(solution.sub_two(-5, 7), -12)
        assert_equal(solution.sub_two(5, -7), 12)
 </s> add         self.assertRaises(TypeError, solution.sub_two, None)
        self.assertEqual(solution.sub_two(7, 5), 2)
        self.assertEqual(solution.sub_two(-5, -7), 2)
        self.assertEqual(solution.sub_two(-5, 7), -12)
        self.assertEqual(solution.sub_two(5, -7), 12) </s> remove     "        assert_raises(TypeError, solution.sum_two, None)\n",
    "        assert_equal(solution.sum_two(5, 7), 12)\n",
    "        assert_equal(solution.sum_two(-5, -7), -12)\n",
    "        assert_equal(solution.sum_two(5, -7), -2)\n",
 </s> add     "        self.assertRaises(TypeError, solution.sum_two, None)\n",
    "        self.assertEqual(solution.sum_two(5, 7), 12)\n",
    "        self.assertEqual(solution.sum_two(-5, -7), -12)\n",
    "        self.assertEqual(solution.sum_two(5, -7), -2)\n", </s> remove     "        assert_raises(TypeError, solution.sum_two, None)\n",
    "        assert_equal(solution.sum_two(5, 7), 12)\n",
    "        assert_equal(solution.sum_two(-5, -7), -12)\n",
    "        assert_equal(solution.sum_two(5, -7), -2)\n",
 </s> add     "        self.assertRaises(TypeError, solution.sum_two, None)\n",
    "        self.assertEqual(solution.sum_two(5, 7), 12)\n",
    "        self.assertEqual(solution.sum_two(-5, -7), -12)\n",
    "        self.assertEqual(solution.sum_two(5, -7), -2)\n", </s> remove     "        assert_raises(TypeError, solution.sub_two, None)\n",
    "        assert_equal(solution.sub_two(7, 5), 2)\n",
    "        assert_equal(solution.sub_two(-5, -7), 2)\n",
    "        assert_equal(solution.sub_two(-5, 7), -12)\n",
    "        assert_equal(solution.sub_two(5, -7), 12)\n",
 </s> add     "        self.assertRaises(TypeError, solution.sub_two, None)\n",
    "        self.assertEqual(solution.sub_two(7, 5), 2)\n",
    "        self.assertEqual(solution.sub_two(-5, -7), 2)\n",
    "        self.assertEqual(solution.sub_two(-5, 7), -12)\n",
    "        self.assertEqual(solution.sub_two(5, -7), 12)\n",
        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)
  class TestSumTwo(object):
  
      def test_sum_two(self):
          solution = Solution()
        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)
        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)
        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)
        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)
          print('Success: test_sum_two')
  
  
  def main():
      test = TestSumTwo()
keep keep keep keep replace replace replace replace keep keep keep keep keep
 #273: Remove nose dependency for online_judges/ (#282) 
online_judges/sum_two/test_sum_two.py