  from nose.tools import assert_equal, assert_raises
  
  
  class TestRansomNote(object):
  
      def test_ransom_note(self):
          solution = Solution()
          assert_raises(TypeError, solution.match_note_to_magazine, None, None)
          assert_equal(solution.match_note_to_magazine('', ''), True)
 
</s> remove         assert_raises(TypeError, solution.match_note_to_magazine, None, None)
        assert_equal(solution.match_note_to_magazine('', ''), True)
        assert_equal(solution.match_note_to_magazine('a', 'b'), False)
        assert_equal(solution.match_note_to_magazine('aa', 'ab'), False)
        assert_equal(solution.match_note_to_magazine('aa', 'aab'), True)
 </s> add         self.assertRaises(TypeError, solution.match_note_to_magazine, None, None)
        self.assertEqual(solution.match_note_to_magazine('', ''), True)
        self.assertEqual(solution.match_note_to_magazine('a', 'b'), False)
        self.assertEqual(solution.match_note_to_magazine('aa', 'ab'), False)
        self.assertEqual(solution.match_note_to_magazine('aa', 'aab'), True) </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 TestRansomNote(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestRansomNote(unittest.TestCase):
  
      def test_ransom_note(self):
          solution = Solution()
          assert_raises(TypeError, solution.match_note_to_magazine, None, None)
          assert_equal(solution.match_note_to_magazine('', ''), True)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for online_judges/ (#282) 
online_judges/ransom_note/test_ransom_note.py