      test = TestFoo()
      test.test_foo()
  
  if __name__ == '__main__':
      main() 
</s> remove         assert_equal(foo(None), None)
        assert_equal(foo(0), 0)
        assert_equal(foo('bar'), 'bar')
 </s> add         self.assertEqual(foo(None), None)
        self.assertEqual(foo(0), 0)
        self.assertEqual(foo('bar'), 'bar') </s> remove     "        assert_equal(foo(None), None)\n",
    "        assert_equal(foo(0), 0)\n",
    "        assert_equal(foo('bar'), 'bar')\n",
 </s> add     "        self.assertEqual(foo(None), None)\n",
    "        self.assertEqual(foo(0), 0)\n",
    "        self.assertEqual(foo('bar'), 'bar')\n", </s> remove     "from nose.tools import assert_equal\n",
 </s> add     "import unittest\n", </s> remove    "metadata": {
    "collapsed": false
   },
 </s> add    "metadata": {}, </s> remove    "display_name": "Python 2",
 </s> add    "display_name": "Python 3",
      test = TestFoo()
      test.test_foo()
  
  if __name__ == '__main__':

keep keep keep keep replace
 #273: Remove nose dependency for templates/ (#284) 
templates/test_foo.py