      "class TestMath(object):\n",
      "\n",
      "    def test_generate_primes(self):\n",
      "        prime_generator = PrimeGenerator()\n",
      "        assert_raises(TypeError, prime_generator.generate_primes, None)\n",
      "        assert_raises(TypeError, prime_generator.generate_primes, 98.6)\n",
      "        assert_equal(prime_generator.generate_primes(20), [False, False, True, \n",
      "                                                           True, False, True, \n",
      "                                                           False, True, False, \n",
      "                                                           False, False, True, \n",
      "                                                           False, True, False, \n",
      "                                                           False, False, True, \n",
 
</s> remove     "        assert_raises(TypeError, prime_generator.generate_primes, None)\n",
    "        assert_raises(TypeError, prime_generator.generate_primes, 98.6)\n",
    "        assert_equal(prime_generator.generate_primes(20), [False, False, True, \n",
 </s> add     "        self.assertRaises(TypeError, prime_generator.generate_primes, None)\n",
    "        self.assertRaises(TypeError, prime_generator.generate_primes, 98.6)\n",
    "        self.assertEqual(prime_generator.generate_primes(20), [False, False, True, \n", </s> remove         assert_raises(TypeError, prime_generator.generate_primes, None)
        assert_raises(TypeError, prime_generator.generate_primes, 98.6)
        assert_equal(prime_generator.generate_primes(20), [False, False, True, 
 </s> add         self.assertRaises(TypeError, prime_generator.generate_primes, None)
        self.assertRaises(TypeError, prime_generator.generate_primes, 98.6)
        self.assertEqual(prime_generator.generate_primes(20), [False, False, True,  </s> remove     "class TestMath(object):\n",
 </s> add     "class TestMath(unittest.TestCase):\n", </s> remove     "class TestMath(object):\n",
 </s> add     "class TestMath(unittest.TestCase):\n", </s> remove     "        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",
 </s> add     "        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, prime_generator.generate_primes, None)\n",
    "        self.assertRaises(TypeError, prime_generator.generate_primes, 98.6)\n",
    "        self.assertEqual(prime_generator.generate_primes(20), [False, False, True, \n",
      "class TestMath(object):\n",
      "\n",
      "    def test_generate_primes(self):\n",
      "        prime_generator = PrimeGenerator()\n",
    "        self.assertRaises(TypeError, prime_generator.generate_primes, None)\n",
    "        self.assertRaises(TypeError, prime_generator.generate_primes, 98.6)\n",
    "        self.assertEqual(prime_generator.generate_primes(20), [False, False, True, \n",
    "        self.assertRaises(TypeError, prime_generator.generate_primes, None)\n",
    "        self.assertRaises(TypeError, prime_generator.generate_primes, 98.6)\n",
    "        self.assertEqual(prime_generator.generate_primes(20), [False, False, True, \n",
    "        self.assertRaises(TypeError, prime_generator.generate_primes, None)\n",
    "        self.assertRaises(TypeError, prime_generator.generate_primes, 98.6)\n",
    "        self.assertEqual(prime_generator.generate_primes(20), [False, False, True, \n",
      "                                                           True, False, True, \n",
      "                                                           False, True, False, \n",
      "                                                           False, False, True, \n",
      "                                                           False, True, False, \n",
      "                                                           False, False, True, \n",
keep keep keep keep replace replace replace keep keep keep keep keep
 #273: Remove nose dependency for math_probability/ (#281) 
math_probability/generate_primes/check_prime_challenge.ipynb