mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 06:56:13 +00:00
Tweak setup.py for py.test (pytest?)
This commit is contained in:
@@ -33,7 +33,7 @@ if sys.argv[-1] == 'test':
|
||||
print('py.test required.')
|
||||
sys.exit(1)
|
||||
|
||||
os.system('pytest test_tablib.py')
|
||||
os.system('py.test test_tablib.py')
|
||||
sys.exit()
|
||||
|
||||
setup(
|
||||
@@ -70,4 +70,5 @@ setup(
|
||||
'Programming Language :: Python :: 3.1',
|
||||
'Programming Language :: Python :: 3.2',
|
||||
),
|
||||
tests_require=['pytest'],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user