Prefer pytest over nosetest runner

pull/35/head
Mišo Belica 6 years ago
parent d4fcb5053a
commit 48acf389b1

@ -1,5 +1,5 @@
breadability - another readability Python (v2.6-v3.3) port breadability - another readability Python (v2.6-v3.3) port
=========================================================== ==========================================================
.. image:: https://api.travis-ci.org/bookieio/breadability.png?branch=master .. image:: https://api.travis-ci.org/bookieio/breadability.png?branch=master
:target: https://travis-ci.org/bookieio/breadability.py :target: https://travis-ci.org/bookieio/breadability.py
@ -55,7 +55,7 @@ Tests
----- -----
.. code-block:: bash .. code-block:: bash
$ nosetests-2.6 tests && nosetests-3.2 tests && nosetests-2.7 tests && nosetests-3.3 tests $ pytest tests
Usage Usage

@ -1,7 +1,5 @@
[nosetests] [tool:pytest]
with-coverage=1 addopts = --quiet --tb=native --color=yes
cover-package=breadability
cover-erase=1
[bdist_wheel] [bdist_wheel]
universal = 1 universal = 1

@ -90,7 +90,7 @@ setup(
zip_safe=False, zip_safe=False,
install_requires=install_requires, install_requires=install_requires,
tests_require=tests_require, tests_require=tests_require,
test_suite="nose.collector", test_suite="tests",
entry_points={ entry_points={
"console_scripts": console_script_targets, "console_scripts": console_script_targets,
} }

Loading…
Cancel
Save