diff options
author | Marius Gedminas <marius@gedmin.as> | 2019-10-01 19:05:21 +0300 |
---|---|---|
committer | Marius Gedminas <marius@gedmin.as> | 2019-10-01 19:05:21 +0300 |
commit | 1738fc3e5be82a6946a06b5b3f260e782aae1e29 (patch) | |
tree | 680b9052fc08f7010f2c60364f2228635534a252 | |
parent | 804678d59f3803c46ca2db92cdb407f5b355bfd4 (diff) | |
download | zope-pagetemplate-1738fc3e5be82a6946a06b5b3f260e782aae1e29.tar.gz |
Fix tests on PyPyfix-pypy
Instance methods have type 'instancemethod' instead of just 'method' on
PyPy2.7 (version 7.0.0 here).
Closes #22.
-rw-r--r-- | src/zope/pagetemplate/engine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zope/pagetemplate/engine.py b/src/zope/pagetemplate/engine.py index 138109b..fc2a0cd 100644 --- a/src/zope/pagetemplate/engine.py +++ b/src/zope/pagetemplate/engine.py @@ -344,7 +344,7 @@ class ZopeEngine(ZopeBaseEngine): >>> r = context.evaluate('python: {12: object()}.values') >>> str(type(r).__name__) in ( ... ('_Proxy',) if HAVE_UNTRUSTED else - ... ('builtin_function_or_method', 'method')) + ... ('builtin_function_or_method', 'method', 'instancemethod')) True >>> r = context.evaluate('python: {12: object()}[12].__class__') |