Message240741
On a fresh clone of cpython 3.5.0a0 if you run
$ ./configure --with-pydebug && make -j2
$ ./python.exe -m test.test__osx_support -j3
on osx 10.10.2 (14C109) these two test failures are reported.
======================================================================
FAIL: test_get_platform_osx (__main__.Test_OSXSupport)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/alexlord/mercurial/cpython/Lib/test/test__osx_support.py", line 272, in test_get_platform_osx
self.assertEqual(('macosx', '10.6', 'fat'), result)
AssertionError: Tuples differ: ('macosx', '10.6', 'fat') != ('macosx', '10.6', ' ')
First differing element 2:
fat
- ('macosx', '10.6', 'fat')
? ^^^
+ ('macosx', '10.6', ' ')
? ^
----------------------------------------------------------------------
Ran 14 tests in 0.354s
Doing a little more digging I found that this if statement is the one failing.
if ((macrelease + '.') >= '10.4.' and$
'-arch' in cflags.strip()):
Specifically this line
(macrelease + '.') >= '10.4'
I used distutils.version.StrictVersion to solve this comparison error.
which is failing because
'10.10' >= '10.4' # This fails because the character 4 is greater than 1. |
|
Date |
User |
Action |
Args |
2015-04-13 20:39:11 | Alex.LordThorsen | set | recipients:
+ Alex.LordThorsen |
2015-04-13 20:39:11 | Alex.LordThorsen | set | messageid: <1428957551.09.0.505644010744.issue23939@psf.upfronthosting.co.za> |
2015-04-13 20:39:11 | Alex.LordThorsen | link | issue23939 messages |
2015-04-13 20:39:10 | Alex.LordThorsen | create | |
|