Commit 6a2a647a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

py3: StandardError does not exist.

parent 05486dbe
......@@ -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