Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only call super() during MockHttp if required
With pytest 8.2 and above, any class that contains classes is collected, which means they are instantiated, which MockHttp's superclasses do not accept, since they require keyword arguments. To work around this, only call the superclass's __init__ method if we are passed kwargs.
- Loading branch information