]> granicus.if.org Git - python/commitdiff
bpo-27425: Add .gitattributes, fix Windows tests (#844)
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 27 Mar 2017 14:11:34 +0000 (16:11 +0200)
committerGitHub <noreply@github.com>
Mon, 27 Mar 2017 14:11:34 +0000 (16:11 +0200)
Mark binary files as binay in .gitattributes to not translate newline
characters in Git repositories on Windows.

.gitattributes [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..82694d8
--- /dev/null
@@ -0,0 +1,8 @@
+*.pck binary
+Lib/test/cjkencodings/* binary
+Lib/test/decimaltestdata/*.decTest binary
+Lib/test/sndhdrdata/sndhdr.* binary
+Lib/test/test_email/data/msg_26.txt binary
+Lib/test/xmltestdata/* binary
+Lib/venv/scripts/nt/* binary
+Lib/test/coding20731.py binary