summaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorAlicia Cozine <879121+acozine@users.noreply.github.com>2020-09-25 17:33:29 +0200
committerGitHub <noreply@github.com>2020-09-25 17:33:29 +0200
commit27826827e9237c5d242012dba98dfe8df2b364a9 (patch)
treea70d6e3e564ee4423b620df290bb1ea45d2a1547 /test/lib
parentUpdate index.rst (#71887) (diff)
downloadansible-27826827e9237c5d242012dba98dfe8df2b364a9.tar.xz
ansible-27826827e9237c5d242012dba98dfe8df2b364a9.zip
updates intersphinx references for docs links (#71921)
* DOCS: updates intersphinx references for docs links * TESTS: Raise the number of bytes scanned to determine if a file is binary. The newest ansible-2.10.inv file has its first null byte at position 2261. 4096 is still a cheap chunksize to read so it still makes sense to raise this. Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com> Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/ansible_test/_internal/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_internal/util.py b/test/lib/ansible_test/_internal/util.py
index 7fc904db01..f0c902a714 100644
--- a/test/lib/ansible_test/_internal/util.py
+++ b/test/lib/ansible_test/_internal/util.py
@@ -500,7 +500,7 @@ def is_binary_file(path):
with open_binary_file(path) as path_fd:
# noinspection PyTypeChecker
- return b'\0' in path_fd.read(2048)
+ return b'\0' in path_fd.read(4096)
def generate_password():