Skip to content

Commit 8188ba4

Browse files
committed
MNT: Avoid testing via deprecated setup.py test_suite
1 parent de1bcf8 commit 8188ba4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ matrix:
2121
- pip install flake8 coverage
2222
script:
2323
- flake8
24-
- BOKEH_BROWSER=none catchsegv coverage run setup.py test
24+
- BOKEH_BROWSER=none catchsegv coverage run -m backtesting.test
2525
after_success:
2626
- bash <(curl -s https://codecov.io/bash)
2727

@@ -42,4 +42,4 @@ install:
4242
- pip install --pre .[test]
4343

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

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
'flake8',
5252
],
5353
},
54-
test_suite="backtesting.test",
5554
python_requires='>=3.4',
5655
author='Zach Lûster',
5756
classifiers=[

0 commit comments

Comments
 (0)