summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarius Gedminas <marius@gedmin.as>2014-01-08 16:19:54 +0200
committerMarius Gedminas <marius@gedmin.as>2014-01-08 16:19:54 +0200
commit45e8a8563dcbc82c615fb4c52aad067735580443 (patch)
treed00a7be406e116aaabbe9b046517884a451a5c85 /src
parentec31274af11fa5befe0d51f25c571239c6f70064 (diff)
downloadzope-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.
Diffstat (limited to 'src')
-rw-r--r--src/zope/security/tests/test_proxy.py2
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)