summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index e5a065b..c728e3e 100755
--- a/setup.py
+++ b/setup.py
@@ -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',