Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the exception tests more robust
This should ensure that the tests work with Pytest 8 onwards. The issue appears to be that __subclasses__ "returns a list of all those references still alive." which could include the RequestRedirect. If it does include RequestRedirect the tests will fail as it requires an argument to be constructed. Note this test is not meant for RequestRedirect.
- Loading branch information