Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
MNT: Avoid testing via deprecated setup.py test_suite
  • Loading branch information
kernc committed Jul 14, 2020
commit 8bd7edf1cbfebbde56c0df730846943d2f0360e4
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ matrix:
- pip install flake8 coverage
script:
- flake8
- BOKEH_BROWSER=none catchsegv coverage run setup.py test
- BOKEH_BROWSER=none catchsegv coverage run -m backtesting.test
after_success:
- bash <(curl -s https://codecov.io/bash)

Expand All @@ -42,4 +42,4 @@ install:
- pip install --pre .[test]

script:
- BOKEH_BROWSER=none time catchsegv python setup.py test
- BOKEH_BROWSER=none time catchsegv python -m backtesting.test
2 changes: 1 addition & 1 deletion backtesting/test/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
suite = unittest.defaultTestLoader.discover('backtesting.test',
pattern='_test*.py')
if __name__ == '__main__':
unittest.TextTestRunner().run(suite)
unittest.TextTestRunner(verbosity=2).run(suite)