mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-10 19:56:45 +03:00
88c3ec539b
pytest: Don't use nose like syntax The tests in test_custom_global_id.py use the old nose specific method 'setup(self)' which isn't supported anymore in Pytest 8+. The tests fail with this error message without modification. E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E graphene/relay/tests/test_custom_global_id.py::TestIncompleteCustomGlobalID::test_must_define_resolve_global_id 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-written-for-nose Co-authored-by: Erik Wrede <erikwrede@users.noreply.github.com> |
||
---|---|---|
.. | ||
pyutils | ||
relay | ||
test | ||
tests | ||
types | ||
utils | ||
validation | ||
__init__.py |