You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#9886: The functionality for running tests written for nose has been officially deprecated.
This includes:
Plain setup and teardown functions and methods: this might catch users by surprise, as setup() and teardown() are not pytest idioms, but part of the nose support.
This leads to identical errors in djangorestframework's tests
...
/usr/lib/python3/site-packages/_pytest/python.py:909: in xunit_setup_method_fixture
warnings.warn(
E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be r
emoved in a future release.
E tests/test_serializer_nested.py::TestNotRequiredNestedSerializerWithMany::test_mul
tipart_validate is using nose-specific method: `setup(self)`
E To remove this warning, rename it to `setup_method(self)`
E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-wr
itten-for-nose
...
==== 1178 passed, 124 skipped, 1 xpassed, 2 warnings, 122 errors in 39.40s =====
The text was updated successfully, but these errors were encountered:
stanislavlevin
added a commit
to stanislavlevin/django-rest-framework
that referenced
this issue
Nov 14, 2022
https://docs.pytest.org/en/latest/changelog.html#pytest-7-2-0-2022-10-23:
This leads to identical errors in
djangorestframework
's testsThe text was updated successfully, but these errors were encountered: