From e291942a66a2e40b1ca2eff76b9c2aad64d4a068 Mon Sep 17 00:00:00 2001 From: zDoNZaI <304292903@qq.com> Date: Wed, 30 Aug 2017 08:11:32 +0800 Subject: [PATCH] Add missing argument in reverse words unit test (#208) --- .../reverse_words/reverse_words_challenge.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/arrays_strings/reverse_words/reverse_words_challenge.ipynb b/staging/arrays_strings/reverse_words/reverse_words_challenge.ipynb index 92f5447..c0257ad 100644 --- a/staging/arrays_strings/reverse_words/reverse_words_challenge.ipynb +++ b/staging/arrays_strings/reverse_words/reverse_words_challenge.ipynb @@ -103,7 +103,7 @@ "from nose.tools import assert_equal\n", "\n", "class UnitTest (object):\n", - " def testReverseWords(self):\n", + " def testReverseWords(self, func):\n", " assert_equal(func('the sun is hot'), 'eht nus si toh')\n", " assert_equal(func(''), None)\n", " assert_equal(func('123 456 789'), '321 654 987')\n", @@ -148,4 +148,4 @@ }, "nbformat": 4, "nbformat_minor": 0 -} \ No newline at end of file +}