New submission from Amaury Forgeot d'Arc <[EMAIL PROTECTED]>:

the "AMD64 W2k8 3.0" buildbot always fail test_sys:

...
    check(range(66000), size(h + '3l'))
...
AssertionError: wrong size for <class 'range'>: got 56, expected 48

The previous line of the test is:
    check(range(1), size(h + '3P'))
(win64 is the only platform where 'P' has a different size than 'l')
Why are there two versions of the structure? There is only one range 
object.

I suggest to replace the failing line with:
    check(range(66000), size(h + '3P'))
to properly reflect the three PyObject* of the structure.

----------
components: Tests
keywords: needs review
messages: 73181
nosy: amaury.forgeotdarc
priority: critical
severity: normal
status: open
title: test_sys.Sizeof fails on win64
versions: Python 3.0

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3859>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to