Skip to content

Commit

Permalink
tests_require is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
danfowler committed Jun 19, 2023
1 parent b2657ab commit 104c40e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion setup.py
Expand Up @@ -25,8 +25,10 @@
url='https://www.omise.co/',
packages=['omise', 'omise.test'],
install_requires=['requests >= 2.12.1'],
tests_require=['nose >= 1.3.4', 'mock >= 1.0.1', 'coverage >= 7.0.0'],
test_suite='omise.test',
extras_require={
"tests": ['nose >= 1.3.4', 'mock >= 1.0.1', 'coverage >= 7.0.0'],
},
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Expand Up @@ -2,4 +2,6 @@
envlist = py27, py37, py38, py39, py310, py311

[testenv]
commands = python setup.py test -q
commands =
pip install ".[tests]"
python -m unittest

0 comments on commit 104c40e

Please sign in to comment.