      "# %load test_generate_primes.py\n",
      "from nose.tools import assert_equal, assert_raises\n",
      "\n",
      "\n",
      "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",
 
</s> remove     "class TestMath(object):\n",
 </s> add     "class TestMath(unittest.TestCase):\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)\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     "class TestMath(object):\n",
 </s> add     "class TestMath(unittest.TestCase):\n", </s> remove     "from nose.tools import assert_equal, assert_raises\n",
 </s> add     "import unittest\n",
    "class TestMath(unittest.TestCase):\n",
      "# %load test_generate_primes.py\n",
      "from nose.tools import assert_equal, assert_raises\n",
      "\n",
      "\n",
    "class TestMath(unittest.TestCase):\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",
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for math_probability/ (#281) 
math_probability/generate_primes/check_prime_challenge.ipynb