summaryrefslogtreecommitdiff
path: root/gitdb/test/test_pack.py
Commit message (Collapse)AuthorAgeFilesLines
* Switch from nose to pytestCarl George2022-02-101-2/+2
| | | | | | | This is not a full rewrite to pytest style tests, it just changes the minimum to allow pytest to run the existing tests. Resolves #72
* Fix typosKian-Meng Ang2022-01-061-1/+1
|
* Replace deprecated unittest aliasesHugo van Kemenade2021-08-191-1/+1
|
* Remove and replace compat.xrangeHarmon2020-02-161-2/+1
|
* Remove and replace izip in TestPackHarmon2020-02-161-6/+1
|
* close smmap handles, to be able to delete files / trees in process (req. for ↵stuertz2017-03-271-2/+5
| | | | windows)
* tc: HALF FIX of `test_pack_entity ()`Kostis Anagnostopoulos2016-10-221-3/+6
| | | | | + On Windows, you cannot write onto a file held by another live file-pointer (test_pack.py:#L204). + The TC fails later, on clean up (the usual).
* Merge pull request #28 from scop/withSebastian Thiel2016-07-301-3/+2
|\ | | | | Handle more file open/close with "with"
| * Handle more file open/close with "with"Ville Skyttä2016-07-271-3/+2
| |
* | Spelling fixesVille Skyttä2016-07-271-1/+1
|/
* Applied autopep8Sebastian Thiel2015-01-041-18/+16
| | | | autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
* Fixed all applicable lint issuesSebastian Thiel2014-11-131-3/+0
|
* 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
* Pick off the low hanging fruitKevin Brown2014-07-131-8/+15
| | | | | | | | | | | 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-51/+51
|
* tabs to spacesSebastian Thiel2014-02-091-219/+219
|
* crc needs to be done on the pack object header as well, of courseSebastian Thiel2011-03-311-1/+1
|
* Implemented remainder of the test, and it already shows that something is ↵Sebastian Thiel2011-03-311-10/+24
| | | | wrong with my packs. Probably something stupid ;)
* initial version of pack writing, which seems to work, but still needs some ↵Sebastian Thiel2011-03-311-13/+38
| | | | more testing and verification
* Added stub for pack writing implementation which should work for pack ↵Sebastian Thiel2011-03-311-4/+30
| | | | streaming over a transport as well
* preprended all modules with licensing informationSebastian Thiel2011-02-231-0/+4
|
* moved all relevant files into the gitdb folder.Sebastian Thiel2010-11-301-0/+178
Submodule relinked to point to new github location, and moved as well