test_require is deprecated

This commit is contained in:
gpotter2
2020-11-27 15:47:15 +01:00
committed by Marcin Kulik
parent b906a2a4d3
commit 44c782dc6a
2 changed files with 1 additions and 3 deletions

View File

@@ -39,6 +39,6 @@ jobs:
with: with:
python-version: ${{ matrix.python }} python-version: ${{ matrix.python }}
- name: Install dependencies - name: Install dependencies
run: python setup.py test run: pip install nose
- name: Run Asciinema tests - name: Run Asciinema tests
run: script -e -c make test run: script -e -c make test

View File

@@ -7,7 +7,6 @@ if sys.version_info.major < 3:
url_template = 'https://github.com/asciinema/asciinema/archive/v%s.tar.gz' url_template = 'https://github.com/asciinema/asciinema/archive/v%s.tar.gz'
requirements = [] requirements = []
test_requirements = ['nose']
with open('README.md', encoding='utf8') as file: with open('README.md', encoding='utf8') as file:
long_description = file.read() long_description = file.read()
@@ -38,7 +37,6 @@ setup(
'doc/asciicast-v2.md']), 'doc/asciicast-v2.md']),
('share/man/man1', ['man/asciinema.1'])], ('share/man/man1', ['man/asciinema.1'])],
install_requires=requirements, install_requires=requirements,
tests_require=test_requirements,
classifiers=[ classifiers=[
'Development Status :: 5 - Production/Stable', 'Development Status :: 5 - Production/Stable',
'Environment :: Console', 'Environment :: Console',