Merge pull request #45 from jaysonfrancis/myfirstpull

Fix typo for func() calls
This commit is contained in:
Donne Martin 2016-03-04 07:13:01 -05:00
commit b1a07b6d48

View File

@ -78,9 +78,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 21, "execution_count": 21,
"metadata": { "metadata": {},
"collapsed": false
},
"outputs": [], "outputs": [],
"source": [ "source": [
"def reverse_words (S):\n", "def reverse_words (S):\n",
@ -99,9 +97,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 1,
"metadata": { "metadata": {},
"collapsed": false
},
"outputs": [], "outputs": [],
"source": [ "source": [
"from nose.tools import assert_equal\n", "from nose.tools import assert_equal\n",
@ -116,7 +112,7 @@
" \n", " \n",
"def main():\n", "def main():\n",
" test = UnitTest()\n", " test = UnitTest()\n",
" test.testReverseWords()\n", " test.testReverseWords(reverse_words)\n",
"\n", "\n",
"if __name__==\"__main__\":\n", "if __name__==\"__main__\":\n",
" main()" " main()"
@ -140,14 +136,14 @@
"language_info": { "language_info": {
"codemirror_mode": { "codemirror_mode": {
"name": "ipython", "name": "ipython",
"version": 2 "version": 2.0
}, },
"file_extension": ".py", "file_extension": ".py",
"mimetype": "text/x-python", "mimetype": "text/x-python",
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython2", "pygments_lexer": "ipython2",
"version": "2.7.6" "version": "2.7.10"
} }
}, },
"nbformat": 4, "nbformat": 4,