Commit 8118f63a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

py3: StandardError does not exist.

parent 8476c8ae
......@@ -40,6 +40,8 @@ except ImportError:
from types import FunctionType as function
from zope.globalrequest import getRequest
import six
if six.PY3:
StandardError = Exception
original_get_request = function(getRequest.__code__, getRequest.__globals__)
from Testing.ZopeTestCase.connections import registry
......
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