  from nose.tools import assert_equal, assert_raises
  
  
  class TestSubTwo(object):
  
      def test_sub_two(self):
          solution = Solution()
          assert_raises(TypeError, solution.sub_two, None)
          assert_equal(solution.sub_two(7, 5), 2)
 
</s> remove         assert_raises(TypeError, solution.sub_two, None)
        assert_equal(solution.sub_two(7, 5), 2)
        assert_equal(solution.sub_two(-5, -7), 2)
        assert_equal(solution.sub_two(-5, 7), -12)
        assert_equal(solution.sub_two(5, -7), 12)
 </s> add         self.assertRaises(TypeError, solution.sub_two, None)
        self.assertEqual(solution.sub_two(7, 5), 2)
        self.assertEqual(solution.sub_two(-5, -7), 2)
        self.assertEqual(solution.sub_two(-5, 7), -12)
        self.assertEqual(solution.sub_two(5, -7), 12) </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 TestMathOps(object):
 </s> add class TestMathOps(unittest.TestCase): </s> remove class TestSolution(object):
 </s> add class TestSolution(unittest.TestCase):
class TestSubTwo(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestSubTwo(unittest.TestCase):
  
      def test_sub_two(self):
          solution = Solution()
          assert_raises(TypeError, solution.sub_two, None)
          assert_equal(solution.sub_two(7, 5), 2)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for online_judges/ (#282) 
online_judges/sub_two/test_sub_two.py