Mercurial > kallithea
view tox.ini @ 5306:63bed817308c
cleanup: check for None object identity in cases where that is what the 'contract' says
Avoid applying bool() on complex objects - it might return something unexpected
such as the key (which might be 0 and thus be false). Checking for None is more
safe and faster.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 24 Jul 2015 16:37:40 +0200 |
parents | 8c1258f69892 |
children | 768989c595aa |
line wrap: on
line source
[tox] envlist = py{26,27}-{pytest,nose} [testenv] setenv = PYTHONHASHSEED = 0 deps = nose: nose pytest: pytest commands = nose: nosetests {posargs} pytest: py.test {posargs}