Skip to content

Commit

Permalink
Stop using nosetests since it's deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolverdude committed Mar 25, 2023
1 parent 124d6a5 commit 2121a24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
8 changes: 0 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -521,14 +521,6 @@ Tests are written in ``unittest`` and are run using `tox`_ and `nose`_. Tox will
$ tox
You should always run tox before submitting a PR, but it takes some time, so when developing, it may be faster just to run ``nosetests`` in your own environment. e.g.

.. code-block:: bash
$ nosetests
$ nosetests --with-coverate --cover-package=genson
$ nosetests test.test_gen_single:TestBasicTypes.test_number
Integration
+++++++++++

Expand Down
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ skip_missing_interpreters = true

[testenv]
deps =
jsonschema>=3.0.0
nose>=1.3.0
jsonschema>=4.0.0
coverage
commands =
nosetests --with-coverage \
--cover-package=genson --cover-min-percentage=90
coverage run --source=genson -m unittest
coverage report --omit='*/__main__.py' --fail-under=90

0 comments on commit 2121a24

Please sign in to comment.