Commit f8e881dd authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Arnaud Fontaine

py3: StandardError does not exist.

parent c1f7805a
......@@ -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