diff options
author | Marius Gedminas <marius@gedmin.as> | 2014-01-08 16:19:54 +0200 |
---|---|---|
committer | Marius Gedminas <marius@gedmin.as> | 2014-01-08 16:19:54 +0200 |
commit | 45e8a8563dcbc82c615fb4c52aad067735580443 (patch) | |
tree | d00a7be406e116aaabbe9b046517884a451a5c85 | |
parent | ec31274af11fa5befe0d51f25c571239c6f70064 (diff) | |
download | zope-security-45e8a8563dcbc82c615fb4c52aad067735580443.tar.gz |
Try to make the tests pass on Windows, harder
Judging from http://winbot.zope.org/builders/zope.security_py_265_32/builds/1107/steps/test/logs/stdio
the address is generated using upper-case hex digits.
-rw-r--r-- | src/zope/security/tests/test_proxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zope/security/tests/test_proxy.py b/src/zope/security/tests/test_proxy.py index d89e355..d2e1dbc 100644 --- a/src/zope/security/tests/test_proxy.py +++ b/src/zope/security/tests/test_proxy.py @@ -41,7 +41,7 @@ def _fmt_address(obj): # the platform sprintf(buf, "%p", obj), which we cannot access from Python # directly (and ctypes seems like overkill). if sys.platform == 'win32': - return '0x%08x' % id(obj) + return '0x%08X' % id(obj) else: return '0x%0x' % id(obj) |