  from nose.tools import assert_equal, assert_raises
  
  
  class TestMultOtherNumbers(object):
  
      def test_mult_other_numbers(self):
          solution = Solution()
          assert_raises(TypeError, solution.mult_other_numbers, None)
          assert_equal(solution.mult_other_numbers([0]), [])
 
</s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove class TestMergeRanges(object):
 </s> add class TestMergeRanges(unittest.TestCase): </s> remove         assert_raises(TypeError, solution.mult_other_numbers, None)
        assert_equal(solution.mult_other_numbers([0]), [])
        assert_equal(solution.mult_other_numbers([0, 1]), [1, 0])
        assert_equal(solution.mult_other_numbers([0, 1, 2]), [2, 0, 0])
        assert_equal(solution.mult_other_numbers([1, 2, 3, 4]), [24, 12, 8, 6])
 </s> add         self.assertRaises(TypeError, solution.mult_other_numbers, None)
        self.assertEqual(solution.mult_other_numbers([0]), [])
        self.assertEqual(solution.mult_other_numbers([0, 1]), [1, 0])
        self.assertEqual(solution.mult_other_numbers([0, 1, 2]), [2, 0, 0])
        self.assertEqual(solution.mult_other_numbers([1, 2, 3, 4]), [24, 12, 8, 6]) </s> remove class TestMaxProfit(object):
 </s> add class TestMaxProfit(unittest.TestCase): </s> remove class TestSolution(object):
 </s> add class TestSolution(unittest.TestCase):
class TestMultOtherNumbers(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestMultOtherNumbers(unittest.TestCase):
  
      def test_mult_other_numbers(self):
          solution = Solution()
          assert_raises(TypeError, solution.mult_other_numbers, None)
          assert_equal(solution.mult_other_numbers([0]), [])
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for online_judges/ (#282) 
online_judges/mult_other_numbers/test_mult_other_numbers.py