Commit a9a4aec0 authored by Jérome Perrin's avatar Jérome Perrin

core_test: remove useless pylint disable ( redefine-in-handler )

redefine-in-handler does not exist on pylint 3 and was no longer emitted here
on python2.
parent 5ebda489
...@@ -105,8 +105,8 @@ class TransactionThread(threading.Thread): ...@@ -105,8 +105,8 @@ class TransactionThread(threading.Thread):
# Login # Login
newSecurityManager(None, portal_value.acl_users.getUser('ERP5TypeTestCase')) newSecurityManager(None, portal_value.acl_users.getUser('ERP5TypeTestCase'))
self.payload(portal_value=portal_value) self.payload(portal_value=portal_value)
except Exception as e: # pylint: disable=redefine-in-handler except Exception as e:
self.exception = e # pylint: disable=redefine-in-handler self.exception = e
if six.PY2: if six.PY2:
self.exception.__traceback__ = sys.exc_info()[2] self.exception.__traceback__ = sys.exc_info()[2]
......
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