  from nose.tools import assert_equal
  
  class UnitTest (object):
      def testReverseWords(self, func):
              assert_equal(func('the sun is hot'), 'eht nus si toh')
              assert_equal(func(''), None)
 
</s> remove class UnitTest (object):
 </s> add  </s> remove             assert_equal(func('the sun is hot'), 'eht nus si toh')
            assert_equal(func(''), None)
            assert_equal(func('123 456 789'), '321 654 987')
            assert_equal(func('magic'), 'cigam')
 </s> add             self.assertEqual(func('the sun is hot'), 'eht nus si toh')
            self.assertEqual(func(''), None)
            self.assertEqual(func('123 456 789'), '321 654 987')
            self.assertEqual(func('magic'), 'cigam') </s> remove     "from nose.tools import assert_equal\n",
 </s> add     "import unittest\n",
    "\n",
    "\n",
    "class TestReverseWords(unittest.TestCase):\n", </s> remove     "from nose.tools import assert_equal\n",
 </s> add     "import unittest\n",
    "\n",
    "\n",
    "class UnitTest(unittest.TestCase):\n", </s> remove     "class UnitTest (object):\n",
 </s> add 
import unittest


class TestReverseWords(unittest.TestCase):
import unittest


class TestReverseWords(unittest.TestCase):
  
  class UnitTest (object):
      def testReverseWords(self, func):
              assert_equal(func('the sun is hot'), 'eht nus si toh')
              assert_equal(func(''), None)
replace keep keep keep keep keep
 #273: Remove nose dependency for staging/ (#283) 
staging/arrays_strings/reverse_words/reverse_words_solution.py