      "\n",
      "def main():\n",
      "    test = TestCompress()\n",
      "    test.test_compress(compress_string)\n",
      "    try:\n",
      "        test.test_compress(compress_string_alt)\n",
      "    except NameError:\n",
      "        # Alternate solutions are only defined\n",
      "        # in the solutions file\n",
      "        pass\n",
      "\n",
      "if __name__ == '__main__':\n",
      "    main()"
     ]
    },
 
</s>
      "\n",
      "def main():\n",
      "    test = TestCompress()\n",
      "    test.test_compress(compress_string)\n",






      "\n",
      "if __name__ == '__main__':\n",
      "    main()"
     ]
    },
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 Removed bytearray solution, needs some tweaks to make it work with Python 3.
arrays_strings/compress/compress_solution.ipynb