diff --git a/.travis.yml b/.travis.yml index 4d70f7d6..260ae83b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,6 @@ before_script: - pip freeze | sort - "flake8 zipline tests" script: - - nosetests --with-timer --exclude=^test_examples --with-coverage --cover-package=zipline + - nosetests --with-timer --exclude=^test_examples --with-coverage --cover-package=zipline --timer-top-n=15 after_success: - coveralls diff --git a/docs/source/whatsnew/0.8.4.txt b/docs/source/whatsnew/0.8.4.txt index fb053b13..1938ca2a 100644 --- a/docs/source/whatsnew/0.8.4.txt +++ b/docs/source/whatsnew/0.8.4.txt @@ -67,3 +67,4 @@ Miscellaneous * Adds :func:`~zipline.utils.test_utils.subtest` decorator for creating subtests without ``nose_parameterized.expand`` which bloats the test output (:issue:`833`). +* Limits timer report in test output to 15 longest tests (:issue:`838`). diff --git a/setup.cfg b/setup.cfg index 86507976..a1ce13a4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,6 +3,7 @@ verbosity=2 detailed-errors=1 with-ignore-docstrings=1 with-timer=1 +timer-top-n=15 [metadata] description-file = README.rst