Test failures from sizeof str on win64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Meliae |
New
|
Undecided
|
Unassigned |
Bug Description
The following tests fail on win64, all of which are from expecting the sizeof str objects to be 4 bytes larger than they really are:
=======
FAIL: test_empty_string (meliae.
-------
Traceback (most recent call last):
File "meliae\
self.
File "meliae\
self.
AssertionError: 37 != 33
=======
FAIL: test_long_string (meliae.
-------
Traceback (most recent call last):
File "meliae\
extra_
File "meliae\
self.
AssertionError: 102437 != 102433
=======
FAIL: test_short_string (meliae.
-------
Traceback (most recent call last):
File "meliae\
self.
File "meliae\
self.
AssertionError: 38 != 34
The estimates just need fixing here. The empty string should be sized as follows:
2.6 2.7
ILP32 24 21
LP64 40 37
LLP64 36 33