diff options
author | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-09-26 22:20:33 +0200 |
---|---|---|
committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-09-28 03:35:19 +0200 |
commit | 618e6259ef03a4b25415bae31a7540ac5eb2e38a (patch) | |
tree | 9981f14dc0feda6bd693ccb72c1e454fb684fc15 /git/cmd.py | |
parent | aa3f2fa76844e1700ba37723acf603428b20ef74 (diff) | |
download | gitpython-618e6259ef03a4b25415bae31a7540ac5eb2e38a.tar.gz |
test, #519: Try appveyor advice for never-ending builds
+ see
http://help.appveyor.com/discussions/problems/5334-nosetests-finsih-bu-build-stuck-and-next-job-dealys-to-start
+ Use `io.DEFAULT_BUFFER_SIZE`.
+ test_commit: replace asserts with unittest-asserts.
- TRY Popen() NO universal_newlines: NO, reverted in next commits.
+
[travisci skip]
Diffstat (limited to 'git/cmd.py')
-rw-r--r-- | git/cmd.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -43,6 +43,7 @@ from git.compat import ( is_posix, is_win, ) +import io execute_kwargs = ('istream', 'with_keep_cwd', 'with_extended_output', 'with_exceptions', 'as_process', 'stdout_as_string', @@ -271,7 +272,7 @@ class Git(LazyMixin): # CONFIGURATION # The size in bytes read from stdout when copying git's output to another stream - max_chunk_size = 1024 * 64 + max_chunk_size = io.DEFAULT_BUFFER_SIZE git_exec_name = "git" # default that should work on linux and windows git_exec_name_win = "git.cmd" # alternate command name, windows only |