Open johnkangw opened 1 year ago
This issue is caused by an outdated way of configuring Hooks in the dash\testing\plugin.py file. To resolve this issue, you need to update the code in this file using the new way of configuring Hooks.
Update the dash\testing\plugin.py file by replacing the following line:
@pytest.mark.tryfirst
with
@pytest.hookimpl(tryfirst=True)
After making these changes, the deprecation messages should disappear and you should no longer receive deprecation warnings when running tests.
Be careful when editing the dash\testing\plugin.py file and make sure you save it with the correct changes. It is also recommended that you create a backup copy of the file before making changes so that you can revert to the original state if necessary.
Describe your context Please provide us your environment, so we can easily reproduce the issue.
pip list | grep dash
below