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
Browse filesBrowse the repository at this point in the historyBrowse files
committed
Address review: DeprecationWarning, add self to test, suppress pytest-timeout
- Change FutureWarning to DeprecationWarning for hookspec methods missing self
- Add self to HookSpec methods in test_hookspec instead of suppressing the warning
- Suppress the deprecation warning for pytest-timeout's TimeoutHooks (upstream
fix exists but is unreleased)
- Add changelog entry for the deprecation
- Update all test references from FutureWarning to DeprecationWarning
Co-authored-by: Cursor AI <ai@cursor.sh>
Co-authored-by: Anthropic Claude Opus 4 <claude@anthropic.com>
Hookspec methods defined without ``self`` as the first parameter now emit a :class:`DeprecationWarning`. Add ``self`` as the first parameter or use ``@staticmethod``.
0 commit comments