[Python-Dev] test_sax and test_random fail on Python 3.6.2rc1 on Windows (original) (raw)
Victor Stinner victor.stinner at gmail.com
Wed Jun 21 05:26:05 EDT 2017
- Previous message (by thread): [Python-Dev] Python FTP Injections Allow for Firewall Bypass (oss-security advisory)
- 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 ]
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
- Previous message (by thread): [Python-Dev] Python FTP Injections Allow for Firewall Bypass (oss-security advisory)
- 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 ]