Commit 80bd30fc authored by Jérome Perrin's avatar Jérome Perrin

fixup! py2/py3: import cStringIO from six.moves.

parent d0b5b983
...@@ -259,7 +259,7 @@ class ERP5TypeTestReLoader(ERP5TypeTestLoader): ...@@ -259,7 +259,7 @@ class ERP5TypeTestReLoader(ERP5TypeTestLoader):
def runLiveTest(test_list, verbosity=1, stream=None, request_server_url=None, **kw): def runLiveTest(test_list, verbosity=1, stream=None, request_server_url=None, **kw):
from Products.ERP5Type.tests.runUnitTest import DebugTestResult from Products.ERP5Type.tests.runUnitTest import DebugTestResult
from six.moves import cStringIO as StringIO from six.moves import StringIO
# Add path of the TestTemplateItem folder of the instance # Add path of the TestTemplateItem folder of the instance
path = kw.get('path', None) path = kw.get('path', None)
if path is not None and path not in sys.path: if path is not None and path not in sys.path:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment