diff options
author | Steve Piercy <web@stevepiercy.com> | 2020-11-13 14:31:52 -0800 |
---|---|---|
committer | Steve Piercy <web@stevepiercy.com> | 2020-11-13 14:31:52 -0800 |
commit | 8e3a168e5758308ef3b9dc2392d8087c9b564c3a (patch) | |
tree | 775973b0cfa865e06615a5e81ef29fa2cdc56531 | |
parent | b2cb96a6ac1240950ca317c71b4e8b0b9c41b9bf (diff) | |
download | webtest-8e3a168e5758308ef3b9dc2392d8087c9b564c3a.tar.gz |
Git on Windows will silently turn `\n` into `\r\n`, causing the test of this file's upload content comparison to fail.
See https://github.com/Pylons/webtest/pull/231#issuecomment-726989829
-rw-r--r-- | .gitattributes | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..75b85d9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Set the default behaviour, in case poeple don't have core.autocrlf set +* text=auto + +# Always lf, this file size is checked in a test +tests/__init__.py text eol=lf |