Skip to content

Commit 29290e9

Browse files
authored
MNT: Avoid testing via deprecated setup.py test_suite (#107)
1 parent 0739f4b commit 29290e9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ matrix:
2323
- pip install flake8 coverage
2424
script:
2525
- flake8
26-
- BOKEH_BROWSER=none catchsegv coverage run setup.py test
26+
- BOKEH_BROWSER=none catchsegv coverage run -m backtesting.test
2727
after_success:
2828
- bash <(curl -s https://codecov.io/bash)
2929

@@ -45,4 +45,4 @@ install:
4545
- pip install -U --pre .[test]
4646

4747
script:
48-
- BOKEH_BROWSER=none time catchsegv python setup.py test
48+
- BOKEH_BROWSER=none time catchsegv python -m backtesting.test

backtesting/test/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
suite = unittest.defaultTestLoader.discover('backtesting.test',
44
pattern='_test*.py')
55
if __name__ == '__main__':
6-
unittest.TextTestRunner().run(suite)
6+
unittest.TextTestRunner(verbosity=2).run(suite)

0 commit comments

Comments
 (0)