      "%%writefile test_new_int.py\n",
      "from nose.tools import assert_equal, assert_raises\n",
      "\n",
      "\n",
      "class TestBits(object):\n",
      "\n",
      "    def test_new_int(self):\n",
      "        bits = Bits()\n",
      "        max_size = 32\n",
      "        assert_raises(TypeError, bits.new_int, None, max_size)\n",
 
</s> remove     "class TestBits(object):\n",
 </s> add     "class TestBits(unittest.TestCase):\n", </s> remove     "        assert_raises(TypeError, bits.new_int, None, max_size)\n",
    "        assert_raises(TypeError, bits.new_int, [], max_size)\n",
 </s> add     "        self.assertRaises(TypeError, bits.new_int, None, max_size)\n",
    "        self.assertRaises(TypeError, bits.new_int, [], max_size)\n", </s> remove     "        assert_raises(TypeError, bits.new_int, None, max_size)\n",
    "        assert_raises(TypeError, bits.new_int, [], max_size)\n",
 </s> add     "        self.assertRaises(TypeError, bits.new_int, None, max_size)\n",
    "        self.assertRaises(TypeError, bits.new_int, [], max_size)\n", </s> remove     "from nose.tools import assert_equal, assert_raises\n",
 </s> add     "import unittest\n", </s> remove     "from nose.tools import assert_equal, assert_raises\n",
 </s> add     "import unittest\n",
    "class TestBits(unittest.TestCase):\n",
      "%%writefile test_new_int.py\n",
      "from nose.tools import assert_equal, assert_raises\n",
      "\n",
      "\n",
    "class TestBits(unittest.TestCase):\n",
      "\n",
      "    def test_new_int(self):\n",
      "        bits = Bits()\n",
      "        max_size = 32\n",
      "        assert_raises(TypeError, bits.new_int, None, max_size)\n",
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for sorting_searching/ (#278) 
sorting_searching/new_int/new_int_solution.ipynb