      "%%writefile test_rotation.py\n",
      "from nose.tools import assert_equal\n",
      "\n",
      "\n",
      "class TestRotation(object):\n",
      "\n",
      "    def test_rotation(self):\n",
      "        rotation = Rotation()\n",
      "        assert_equal(rotation.is_rotation('o', 'oo'), False)\n",
      "        assert_equal(rotation.is_rotation(None, 'foo'), False)\n",
 
</s> remove     "class TestRotation(object):\n",
 </s> add     "class TestRotation(unittest.TestCase):\n", </s> remove     "        assert_equal(rotation.is_rotation('o', 'oo'), False)\n",
    "        assert_equal(rotation.is_rotation(None, 'foo'), False)\n",
    "        assert_equal(rotation.is_rotation('', 'foo'), False)\n",
    "        assert_equal(rotation.is_rotation('', ''), True)\n",
    "        assert_equal(rotation.is_rotation('foobarbaz', 'barbazfoo'), True)\n",
 </s> add     "        self.assertEqual(rotation.is_rotation('o', 'oo'), False)\n",
    "        self.assertEqual(rotation.is_rotation(None, 'foo'), False)\n",
    "        self.assertEqual(rotation.is_rotation('', 'foo'), False)\n",
    "        self.assertEqual(rotation.is_rotation('', ''), True)\n",
    "        self.assertEqual(rotation.is_rotation('foobarbaz', 'barbazfoo'), True)\n", </s> remove     "        assert_equal(rotation.is_rotation('o', 'oo'), False)\n",
    "        assert_equal(rotation.is_rotation(None, 'foo'), False)\n",
    "        assert_equal(rotation.is_rotation('', 'foo'), False)\n",
    "        assert_equal(rotation.is_rotation('', ''), True)\n",
    "        assert_equal(rotation.is_rotation('foobarbaz', 'barbazfoo'), True)\n",
 </s> add     "        self.assertEqual(rotation.is_rotation('o', 'oo'), False)\n",
    "        self.assertEqual(rotation.is_rotation(None, 'foo'), False)\n",
    "        self.assertEqual(rotation.is_rotation('', 'foo'), False)\n",
    "        self.assertEqual(rotation.is_rotation('', ''), True)\n",
    "        self.assertEqual(rotation.is_rotation('foobarbaz', 'barbazfoo'), True)\n", </s> remove class TestRotation(object):
 </s> add class TestRotation(unittest.TestCase): </s> remove     "class TestPermutation(object):\n",
 </s> add     "class TestPermutation(unittest.TestCase):\n",
    "class TestRotation(unittest.TestCase):\n",
      "%%writefile test_rotation.py\n",
      "from nose.tools import assert_equal\n",
      "\n",
      "\n",
    "class TestRotation(unittest.TestCase):\n",
      "\n",
      "    def test_rotation(self):\n",
      "        rotation = Rotation()\n",
      "        assert_equal(rotation.is_rotation('o', 'oo'), False)\n",
      "        assert_equal(rotation.is_rotation(None, 'foo'), False)\n",
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for arrays_strings/ (#274) 
arrays_strings/rotation/rotation_solution.ipynb