Skip to content

Commit 60b47e4

Browse files
committed
Remove nose mentions
1 parent 4bcd64f commit 60b47e4

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

README.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can install this package using pypi: ``pip install flask-mongoengine``
2626
Tests
2727
=====
2828
To run the test suite, ensure you are running a local copy of Flask-MongoEngine
29-
and run: ``python setup.py nosetests``.
29+
and simply run: ``pytest``.
3030

3131
To run the test suite on every supported versions of Python, PyPy and MongoEngine you can use ``tox``.
3232
Ensure tox and each supported Python, PyPy versions are installed in your environment:
@@ -38,11 +38,7 @@ Ensure tox and each supported Python, PyPy versions are installed in your enviro
3838
# Run the test suites
3939
$ tox
4040
41-
To run a single or selected test suits, use the nosetest convention. E.g.
42-
43-
.. code-block:: shell
44-
45-
$ python setup.py nosetests --tests tests/example_test.py:ExampleTestClass.example_test_method
41+
To run a single or selected test suits, use pytest `-k` option.
4642

4743
Contributing
4844
============

requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ black
55
pre-commit
66
pytest
77
pytest-cov
8-
nose

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def get_version(version_tuple):
3232
version_line = list(filter(lambda l: l.startswith("VERSION"), open(init)))[0]
3333
version = get_version(eval(version_line.split("=")[-1]))
3434

35-
test_requirements = ["coverage", "nose", "pytest", "pytest-cov"]
35+
test_requirements = ["coverage", "pytest", "pytest-cov"]
3636

3737
setup(
3838
name="flask-mongoengine",

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ deps =
88
PyMongo>3.9.0
99
pytest
1010
pytest-cov
11-
nose
1211

1312
[testenv:lint]
1413
deps =

0 commit comments

Comments
 (0)