Mercurial > kallithea
view tox.ini @ 7973:ad8328c8ed40
vcs: fix get_changesets to .reverse() list of revision hashes in place instead of using reversed()
This is slightly more performant, and will also make CollectionGenerator work
with reverse=True. Before, CollectionGenerator was used on get_changesets, but
never with reverse option. Trying to use reverse, it would fail when applying
len():
TypeError: object of type 'listreverseiterator' has no len()
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 20 Nov 2019 23:49:40 +0100 |
parents | ab30729c735c |
children |
line wrap: on
line source
[tox] minversion = 1.8 envlist = py27-pytest [testenv] setenv = PYTHONHASHSEED = 0 deps = -r{toxinidir}/dev_requirements.txt python-ldap python-pam commands = pytest: py.test {posargs}