[Python-Dev] test_sax and test_random fail on Python 3.6.2rc1 on Windows (original) (raw)
Steve Dower steve.dower at python.org
Wed Jun 21 10:10:53 EDT 2017
- Previous message (by thread): [Python-Dev] test_sax and test_random fail on Python 3.6.2rc1 on Windows
- Next message (by thread): [Python-Dev] test_sax and test_random fail on Python 3.6.2rc1 on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I’m looking. Nobody in any of their reports has actually said what the line endings are in they install yet (I assume \n), and I haven’t had a chance to check yet.
Do we have a minimum git version requirement? Maybe I need to update my build machine.
Top-posted from my Windows phone
From: Victor Stinner Sent: Wednesday, June 21, 2017 2:27 To: Python Dev; Steve Dower Subject: test_sax and test_random fail on Python 3.6.2rc1 on Windows
Hi,
The end-of-line hell is not over, test_sax and test_random tests are still failing if you install Python 3.6.2rc1 on Windows: http://bugs.python.org/issue27425#msg296519
These tests rely on files in Lib/test/. The end-of-line of these files is controlled by .gitattributes, but it seems like the Windows installer changed the end-of-line or the file were not correctly created on the Git clone (.gitattributes ignored)?
In my Git checkout on Windows, Lib/test/xmltestdata/test.xml.out and Lib/test/randv2_32.pck use UNIX end-of-line (\n).
While it's possible to fix test_sax to translate the end-of-line, I would prefer to not have to modify test_random which opens a pickle binary file (Lib/test/randv2_32.pck).
So, can someone look how the Windows installer stores and then installs these files?
Victor
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20170621/5a50044c/attachment.html>
- Previous message (by thread): [Python-Dev] test_sax and test_random fail on Python 3.6.2rc1 on Windows
- Next message (by thread): [Python-Dev] test_sax and test_random fail on Python 3.6.2rc1 on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]