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

ERP5TypeTestSuite: don't use sys.maxint for python3 compatibility

parent 91e1e433
......@@ -148,7 +148,7 @@ class SavedTestSuite(ERP5TypeTestSuite):
def __init__(self, *args, **kw):
# Use same portal id for all tests run by current instance
# but keep it (per-run) random.
self._portal_id = 'portal_%i' % (random.randint(0, sys.maxint), )
self._portal_id = 'portal_%i' % (random.randint(0, 2**64), )
self._setup_failed = False
super(SavedTestSuite, self).__init__(*args, **kw)
......
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