  from nose.tools import assert_equal, assert_raises
  
  
  class TestSolution(object):
  
      def test_length_longest_path(self):
          solution = Solution()
          assert_raises(TypeError, solution.length_longest_path, None)
          assert_equal(solution.length_longest_path(''), 0)
 
</s> remove         assert_raises(TypeError, solution.length_longest_path, None)
        assert_equal(solution.length_longest_path(''), 0)
 </s> add         self.assertRaises(TypeError, solution.length_longest_path, None)
        self.assertEqual(solution.length_longest_path(''), 0) </s> remove class TestSolution(object):
 </s> add class TestSolution(unittest.TestCase): </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):
class TestSolution(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestSolution(unittest.TestCase):
  
      def test_length_longest_path(self):
          solution = Solution()
          assert_raises(TypeError, solution.length_longest_path, None)
          assert_equal(solution.length_longest_path(''), 0)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for online_judges/ (#282) 
online_judges/longest_abs_file_path/test_length_longest_path.py