diff --git a/product/ERP5Type/tests/custom_zodb.py b/product/ERP5Type/tests/custom_zodb.py index 0e2609babba716c48501f4f7cae335ef725127f9..bf48a25cfd0866d30fcbf62670b7746601caf21d 100644 --- a/product/ERP5Type/tests/custom_zodb.py +++ b/product/ERP5Type/tests/custom_zodb.py @@ -7,7 +7,8 @@ from ZODB.DemoStorage import DemoStorage from ZODB.FileStorage import FileStorage from Products.ERP5Type.tests.utils import getMySQLArguments -_print = sys.stderr.write +def _print(message): + sys.stderr.write(message + "\n") instance_home = os.environ.get('INSTANCE_HOME') data_fs_path = os.environ.get('erp5_tests_data_fs_path', diff --git a/product/ERP5Type/tests/runUnitTest.py b/product/ERP5Type/tests/runUnitTest.py index 7959b5dc42c5d1451446ca721010949fc2534419..1d8b31e43bea05d27a35b6d6f6d3eb794084dfeb 100755 --- a/product/ERP5Type/tests/runUnitTest.py +++ b/product/ERP5Type/tests/runUnitTest.py @@ -310,7 +310,7 @@ def runUnitTestList(test_list, verbosity=1, debug=0): os.environ.setdefault('EVENT_LOG_FILE', os.path.join(tests_home, 'zLOG.log')) os.environ.setdefault('EVENT_LOG_SEVERITY', '-300') - _print("Loading Zope ... ") + _print("Loading Zope ... \n") _start = time.time() import Testing