Skip to content

Commit

Permalink
simplify pytest requirement in tests_require
Browse files Browse the repository at this point in the history
  • Loading branch information
jborbely committed Jan 14, 2021
1 parent d212f1a commit 5779b2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ def get_version():

install_requires = []

tests_require = ['pytest-cov']
tests_require = ['pytest', 'pytest-cov']
if sys.version_info[:2] == (3, 5):
tests_require.extend(['zipp<2.0', 'importlib-metadata<3.0', 'pyparsing<3.0', 'pytest~=4.6', 'PySide2'])
tests_require.append('PySide2')
else:
tests_require.extend(['pytest', 'PySide6'])
tests_require.append('PySide6')

if sys.platform == 'win32' and sys.version_info[:2] < (3, 9):
tests_require.append('pythonnet')
Expand Down

0 comments on commit 5779b2f

Please sign in to comment.