summaryrefslogtreecommitdiff
path: root/gitdb/test/lib.py
Commit message (Collapse)AuthorAgeFilesLines
* Added requirements.txt for pip, and optimized test-suite performance on travis.Sebastian Thiel2014-11-141-0/+16
| | | | With a bit of luck, this one will just work now.
* Performance tests are now part of the test-suite.Sebastian Thiel2014-11-141-2/+2
| | | | | | | By default, a small repository will be tested, which doesn't take that long actually (~20s) Additionally, that way we enforce correctness tests, which didn't run by default previously. As we are handling data here, we must be sure that it's handled correctly, thus the tests should run.
* Fixed all applicable lint issuesSebastian Thiel2014-11-131-8/+1
|
* Merge branch 'kevin-brown-issue_4' into py2n3Sebastian Thiel2014-11-131-24/+26
|\ | | | | | | | | | | | | | | | | | | Conflicts: gitdb/base.py gitdb/fun.py gitdb/pack.py gitdb/stream.py gitdb/test/lib.py gitdb/util.py
| * Made sure xrange is used instead of range in python 2Sebastian Thiel2014-11-131-1/+2
| | | | | | | | | | | | | | range in py2 will return a list, which can mean a lot of time and memory is spent on generating it even though it's just used for iteration. Simplified implementation of MAXSIZE
| * Making a bit of progress...Kevin Brown2014-07-131-7/+1
| | | | | | | | | | | | | | 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+.
| * Convert strings to bytes for PY3Kevin Brown2014-07-131-3/+3
| | | | | | | | | | | | 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-2/+9
| | | | | | | | | | | | | | | | | | | | | | 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-20/+19
| |
* | Minor adjustments to adapt to changes in async (due to be removed anyway)Sebastian Thiel2014-11-131-2/+0
|/
* tabs to spacesSebastian Thiel2014-02-091-103/+103
|
* Implemented remainder of the test, and it already shows that something is ↵Sebastian Thiel2011-03-311-2/+5
| | | | wrong with my packs. Probably something stupid ;)
* preprended all modules with licensing informationSebastian Thiel2011-02-231-0/+4
|
* moved all relevant files into the gitdb folder.Sebastian Thiel2010-11-301-0/+155
Submodule relinked to point to new github location, and moved as well