Commit 3541b89e 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 38596f42
......@@ -105,8 +105,8 @@ class TransactionThread(threading.Thread):
# Login
newSecurityManager(None, portal_value.acl_users.getUser('ERP5TypeTestCase'))
self.payload(portal_value=portal_value)
except Exception as e: # pylint: disable=redefine-in-handler
self.exception = e # pylint: disable=redefine-in-handler
except Exception as e:
self.exception = e
if six.PY2:
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