Switching from nose to pytest

This commit is contained in:
Niru Maheswaranathan
2016-10-09 13:38:20 -07:00
parent 0313cb2983
commit 69d4409c79
3 changed files with 3 additions and 3 deletions

View File

@@ -22,6 +22,6 @@ install:
- travis_retry pip install -r requirements-dev.txt - travis_retry pip install -r requirements-dev.txt
- travis_retry python setup.py install - travis_retry python setup.py install
script: script:
- py.test - coverage run --source descent -m py.test
after_success: after_success:
- coveralls - coveralls

View File

@@ -1,4 +1,4 @@
-r requirements.txt -r requirements.txt
coveralls coveralls
pytest pytest
nose coverage

View File

@@ -20,7 +20,7 @@ import numpy as np
__all__ = ('table', 'header', 'row', 'hr', 'top', 'bottom', __all__ = ('table', 'header', 'row', 'hr', 'top', 'bottom',
'banner', 'dataframe', 'humantime', 'styles') 'banner', 'dataframe', 'humantime', 'styles')
__version__ = '0.5.3' __version__ = '0.5.4'
# set up table styles # set up table styles
LineStyle = namedtuple('LineStyle', ('begin', 'hline', 'sep', 'end')) LineStyle = namedtuple('LineStyle', ('begin', 'hline', 'sep', 'end'))