  from nose.tools import assert_equal, assert_raises
  
  
  class TestMoveZeroes(object):
  
      def test_move_zeroes(self):
          solution = Solution()
          assert_raises(TypeError, solution.move_zeroes, None)
          array = [0, 1, 0, 3, 12]
 
</s> remove         assert_raises(TypeError, solution.move_zeroes, None)
 </s> add         self.assertRaises(TypeError, solution.move_zeroes, None) </s> remove         assert_equal(array, [1, 3, 12, 0, 0])
 </s> add         self.assertEqual(array, [1, 3, 12, 0, 0]) </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     "        assert_raises(TypeError, solution.move_zeroes, None)\n",
 </s> add     "        self.assertRaises(TypeError, solution.move_zeroes, None)\n",
class TestMoveZeroes(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestMoveZeroes(unittest.TestCase):
  
      def test_move_zeroes(self):
          solution = Solution()
          assert_raises(TypeError, solution.move_zeroes, None)
          array = [0, 1, 0, 3, 12]
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for online_judges/ (#282) 
online_judges/move_zeroes/test_move_zeroes.py