      "\n",
      "class TestAddDigits(object):\n",
      "\n",
      "    def test_add_digits(self, func):\n",
      "        assert_raises(TypeError, func, None)\n",
      "        assert_raises(ValueError, func, -1)\n",
      "        assert_equal(func(0), 0)\n",
      "        assert_equal(func(9), 9)\n",
      "        assert_equal(func(138), 3)\n",
      "        assert_equal(func(65536), 7) \n",
      "        print('Success: test_add_digits')\n",
      "\n",
      "\n",
      "def main():\n",
      "    test = TestAddDigits()\n",
 
</s>
    "        self.assertRaises(TypeError, func, None)\n",
    "        self.assertRaises(ValueError, func, -1)\n",
    "        self.assertEqual(func(0), 0)\n",
    "        self.assertEqual(func(9), 9)\n",
    "        self.assertEqual(func(138), 3)\n",
    "        self.assertEqual(func(65536), 7) \n",
      "\n",
      "class TestAddDigits(object):\n",
      "\n",
      "    def test_add_digits(self, func):\n",
    "        self.assertRaises(TypeError, func, None)\n",
    "        self.assertRaises(ValueError, func, -1)\n",
    "        self.assertEqual(func(0), 0)\n",
    "        self.assertEqual(func(9), 9)\n",
    "        self.assertEqual(func(138), 3)\n",
    "        self.assertEqual(func(65536), 7) \n",
    "        self.assertRaises(TypeError, func, None)\n",
    "        self.assertRaises(ValueError, func, -1)\n",
    "        self.assertEqual(func(0), 0)\n",
    "        self.assertEqual(func(9), 9)\n",
    "        self.assertEqual(func(138), 3)\n",
    "        self.assertEqual(func(65536), 7) \n",
    "        self.assertRaises(TypeError, func, None)\n",
    "        self.assertRaises(ValueError, func, -1)\n",
    "        self.assertEqual(func(0), 0)\n",
    "        self.assertEqual(func(9), 9)\n",
    "        self.assertEqual(func(138), 3)\n",
    "        self.assertEqual(func(65536), 7) \n",
    "        self.assertRaises(TypeError, func, None)\n",
    "        self.assertRaises(ValueError, func, -1)\n",
    "        self.assertEqual(func(0), 0)\n",
    "        self.assertEqual(func(9), 9)\n",
    "        self.assertEqual(func(138), 3)\n",
    "        self.assertEqual(func(65536), 7) \n",
    "        self.assertRaises(TypeError, func, None)\n",
    "        self.assertRaises(ValueError, func, -1)\n",
    "        self.assertEqual(func(0), 0)\n",
    "        self.assertEqual(func(9), 9)\n",
    "        self.assertEqual(func(138), 3)\n",
    "        self.assertEqual(func(65536), 7) \n",
    "        self.assertRaises(TypeError, func, None)\n",
    "        self.assertRaises(ValueError, func, -1)\n",
    "        self.assertEqual(func(0), 0)\n",
    "        self.assertEqual(func(9), 9)\n",
    "        self.assertEqual(func(138), 3)\n",
    "        self.assertEqual(func(65536), 7) \n",
      "        print('Success: test_add_digits')\n",
      "\n",
      "\n",
      "def main():\n",
      "    test = TestAddDigits()\n",
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 #273: Remove nose dependency for math_probability/ (#281)
math_probability/add_digits/add_digits_solution.ipynb