diff options
| author | Iuri de Silvio <iurisilvio@gmail.com> | 2014-04-19 15:25:43 -0300 |
|---|---|---|
| committer | Iuri de Silvio <iurisilvio@gmail.com> | 2014-04-19 15:25:43 -0300 |
| commit | 569d35bfca693c1d486009a490c53baeb41bd36f (patch) | |
| tree | 2943e44ace5497faa565c4d9f901aa41ee2eece1 /setup.py | |
| parent | d40cdfbcd0ca4fd45b261fe7788d8211d85b70eb (diff) | |
| download | tablib-569d35bfca693c1d486009a490c53baeb41bd36f.tar.gz | |
Exit with error when `python setup.py test` fails
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,8 +33,8 @@ if sys.argv[-1] == 'test': print('py.test required.') sys.exit(1) - os.system('py.test test_tablib.py') - sys.exit() + errors = os.system('py.test test_tablib.py') + sys.exit(bool(errors)) setup( name='tablib', |
