A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-June/148385.html below:

[Python-Dev] test_sax and test_random fail on Python 3.6.2rc1 on Windows

[Python-Dev] test_sax and test_random fail on Python 3.6.2rc1 on Windows [Python-Dev] test_sax and test_random fail on Python 3.6.2rc1 on WindowsVictor Stinner victor.stinner at gmail.com
Wed Jun 21 05:26:05 EDT 2017
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4