      "collapsed": false
     },
     "outputs": [],
     "source": [
      "def test():\n",
      "    print(unique_chars(''))\n",
      "    print(unique_chars('foo'))\n",
      "    print(unique_chars('bar'))\n",
      "\n",
      "test()"
     ]
    },
    {
 
</s> remove     "test()"
 </s> add     "run_tests()" </s> remove     "test()"
 </s> add     "class Test(object):\n",
    "  def test_unique_chars(self):\n",
    "        assert_equal(unique_chars(''), True)\n",
    "        assert_equal(unique_chars('foo'), False)\n",
    "        assert_equal(unique_chars('bar'), True)    \n",
    "\n",
    "def run_tests():\n",
    "    test = Test()\n",
    "    test.test_unique_chars()\n",
    "\n",
    "run_tests()" </s> remove     "test()"
 </s> add     "run_tests()"
    "from nose.tools import assert_equal\n",
      "collapsed": false
     },
     "outputs": [],
     "source": [
    "from nose.tools import assert_equal\n",
    "from nose.tools import assert_equal\n",
    "from nose.tools import assert_equal\n",
    "from nose.tools import assert_equal\n",
      "\n",
      "test()"
     ]
    },
    {
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Updated tests to use nose. 
arrays-strings/unique_chars.ipynb