summaryrefslogtreecommitdiff
path: root/gitdb/test/test_stream.py
Commit message (Collapse)AuthorAgeFilesLines
* fix(win): FIX and HIDE 2 win-errors remainingv2.1.0.dev1Kostis Anagnostopoulos2016-10-241-9/+8
| | | | | + File-in-use errors were fixed with `gitdb.util.mman.collect()`! + This call is disabled `gitdb.util.HIDE_WINDOWS_KNOWN_ERRORS == False`. + Depend on latest smmp `v2.1.0.dev1` tag
* feat(io): Retrofit streams as context-managers.Kostis Anagnostopoulos2016-10-241-3/+5
| | | | | + feat(util): add logger. + feat(util): add suppress-ex context-handler (from PY3 sources).
* Applied autopep8Sebastian Thiel2015-01-041-5/+7
| | | | autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
* Bumped new versionSebastian Thiel2015-01-011-2/+2
| | | | Fixed tiny issue in python 3
* Slightly improved loose object decompression testSebastian Thiel2015-01-011-1/+9
|
* Increased initial size of decompressed data to obtain loose object header ↵Sebastian Thiel2015-01-011-5/+8
| | | | | | | | | information This appears to fix https://github.com/gitpython-developers/GitPython/issues/220 , in this particular case. Nonetheless, we might just have gotten lucky here, and the actual issue is not yet solved and can thus re-occour. It would certainly be best to churn through plenty of loose objects to assure this truly works now. Maybe the pack could be recompressed as loose objects to get a sufficiently large data set
* It seems zlib works differently in py26, and thus requires special handling.py2n3Sebastian Thiel2014-11-141-12/+1
| | | | This also explains why the tests suddenly stopped working - after all, the interpreter changed ... .
* Now I am skipping a problematic test on travis CI.Sebastian Thiel2014-11-141-2/+12
| | | | Maybe I can find a py 2.6 interpreter somewhere to reproduce it.
* Fixed all applicable lint issuesSebastian Thiel2014-11-131-5/+6
|
* Merge branch 'kevin-brown-issue_4' into py2n3Sebastian Thiel2014-11-131-43/+41
|\ | | | | | | | | | | | | | | | | | | Conflicts: gitdb/base.py gitdb/fun.py gitdb/pack.py gitdb/stream.py gitdb/test/lib.py gitdb/util.py
| * Making a bit of progress...Kevin Brown2014-07-131-2/+2
| | | | | | | | | | | | | | This changes the internals to use BytesIO over StringIO, which fixed a few of the failing tests in Python 3. We are only importing from `io` now, instead of the entire chain, as this is available in Python 2.6+.
| * Bytes for everyone!Kevin Brown2014-07-131-2/+2
| |
| * Convert strings to bytes for PY3Kevin Brown2014-07-131-5/+4
| | | | | | | | | | | | In Python 3, the default string type is now the Python 2 unicode strings. The unicode strings cannot be converted to a byte stream, so we have to convert it before writing to the streams.
| * Pick off the low hanging fruitKevin Brown2014-07-131-8/+8
| | | | | | | | | | | | | | | | | | | | | | This fixes most of the import errors that came from using the implicit relative imports that Python 2 supports. This also fixes the use of `xrange`, which has replaced `range` in Python 3. The same has happened for `izip`, which is also being aliased. The octal number syntax changed in Python 3, so we are now converting from strings using the `int` built-in function, which will produce the same output across both versions of Python.
| * Automated PEP 8 fixesKevin Brown2014-07-131-26/+25
| |
* | Minor adjustments to adapt to changes in async (due to be removed anyway)Sebastian Thiel2014-11-131-2/+1
|/
* tabs to spacesSebastian Thiel2014-02-091-133/+133
|
* preprended all modules with licensing informationSebastian Thiel2011-02-231-0/+4
|
* moved all relevant files into the gitdb folder.Sebastian Thiel2010-11-301-0/+150
Submodule relinked to point to new github location, and moved as well