Files @ c72fe7e3b17f
Branch filter:

Location: kallithea/pytest.ini - annotation

Søren Løvborg
vcs: replace deprecated __getslice__ with __getitem__

__getslice__ has been deprecated since Python 2.0.

The support for single item indexing is currently unused, but was
trivial to implement (and needed for proper __getitem__ support).
1
2
3
4
5
6
7
8
9
[pytest]
# only look for tests in kallithea/tests
python_files = kallithea/tests/**/test_*.py
addopts =
    # --verbose
    # show extra test summary info as specified by chars (f)ailed, (E)error, (s)skipped, (x)failed, (X)passed, (w)warnings.
    -rfEsxXw
    # Shorter scrollbacks; less stuff to scroll through
    --tb=short