  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')
          print('Success: test_find_diff')
  
  
  def main():
      test = TestFindDiff()
 
</s> remove class TestFindDiff(object):
 </s> add class TestFindDiff(unittest.TestCase): </s> remove     "        assert_raises(TypeError, solution.find_diff, None)\n",
    "        assert_equal(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')\n",
 </s> add     "        self.assertRaises(TypeError, solution.find_diff, None)\n",
    "        self.assertEqual(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')\n", </s> remove     "        assert_raises(TypeError, solution.find_diff, None)\n",
    "        assert_equal(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')\n",
 </s> add     "        self.assertRaises(TypeError, solution.find_diff, None)\n",
    "        self.assertEqual(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')\n", </s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove         assert_equal(solution.max_xor(10, 15), 7)
 </s> add         self.assertEqual(solution.max_xor(10, 15), 7)
        self.assertRaises(TypeError, solution.find_diff, None)
        self.assertEqual(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')
  class TestFindDiff(object):
  
      def test_find_diff(self):
          solution = Solution()
        self.assertRaises(TypeError, solution.find_diff, None)
        self.assertEqual(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')
        self.assertRaises(TypeError, solution.find_diff, None)
        self.assertEqual(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')
          print('Success: test_find_diff')
  
  
  def main():
      test = TestFindDiff()
keep keep keep keep replace replace keep keep keep keep keep
 #273: Remove nose dependency for online_judges/ (#282) 
online_judges/str_diff/test_str_diff.py