# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
+from __future__ import print_function\r
import os\r
import unittest\r
\r
# Close file\r
f.close()\r
except:\r
- print 'Can not create temporary file [%s]!' % Path\r
+ print('Can not create temporary file [%s]!' % Path)\r
exit(-1)\r
\r
# Call test function to test\r
unittest.FunctionTestCase(TestDecPcd).runTest()\r
unittest.FunctionTestCase(TestDecUserExtension).runTest()\r
\r
- print 'All tests passed...'\r
+ print('All tests passed...')\r
\r
\r