  from nose.tools import assert_equal, assert_raises
  
  
  class TestFindDiff(object):
  
      def test_find_diff(self):
          solution = Solution()
          assert_raises(TypeError, solution.find_diff, None)
          assert_equal(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')
 
</s> remove         assert_raises(TypeError, solution.find_diff, None)
        assert_equal(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')
 </s> add         self.assertRaises(TypeError, solution.find_diff, None)
        self.assertEqual(solution.find_diff('aaabbcdd', 'abdbacade'), 'e') </s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove class TestSolution(object):
 </s> add class TestSolution(unittest.TestCase): </s> remove class TestSolution(object):
 </s> add class TestSolution(unittest.TestCase): </s> remove class TestSolution(object):
 </s> add class TestSolution(unittest.TestCase):
class TestFindDiff(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestFindDiff(unittest.TestCase):
  
      def test_find_diff(self):
          solution = Solution()
          assert_raises(TypeError, solution.find_diff, None)
          assert_equal(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for online_judges/ (#282) 
online_judges/str_diff/test_str_diff.py