  from nose.tools import assert_equal, assert_raises
  
  
  class TestTwoSum(object):
  
      def test_two_sum(self):
          solution = Solution()
          assert_raises(TypeError, solution.two_sum, None, None)
          assert_raises(ValueError, solution.two_sum, [], 0)
 
</s> remove         assert_raises(TypeError, solution.two_sum, None, None)
        assert_raises(ValueError, solution.two_sum, [], 0)
 </s> add         self.assertRaises(TypeError, solution.two_sum, None, None)
        self.assertRaises(ValueError, solution.two_sum, [], 0) </s> remove class TestFizzBuzz(object):
 </s> add class TestFizzBuzz(unittest.TestCase): </s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove     "class TestTwoSum(object):\n",
 </s> add     "class TestTwoSum(unittest.TestCase):\n", </s> remove         assert_raises(TypeError, solution.fizz_buzz, None)
        assert_raises(ValueError, solution.fizz_buzz, 0)
 </s> add         self.assertRaises(TypeError, solution.fizz_buzz, None)
        self.assertRaises(ValueError, solution.fizz_buzz, 0)
class TestTwoSum(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestTwoSum(unittest.TestCase):
  
      def test_two_sum(self):
          solution = Solution()
          assert_raises(TypeError, solution.two_sum, None, None)
          assert_raises(ValueError, solution.two_sum, [], 0)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for arrays_strings/ (#274) 
arrays_strings/two_sum/test_two_sum.py