New submission from Alex Lord: 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. ---------- files: test_get_platform_osx.patch keywords: patch messages: 240741 nosy: Alex.Lord priority: normal severity: normal status: open title: test_get_platform_osx failure on Python 3.5.0a0 osx 10.6 versions: Python 3.5 Added file: http://bugs.python.org/file38962/test_get_platform_osx.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23939> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com