Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: avoiding issue with PytestUnraisableExceptionWarning (#1458)
* Fix: avoiding issue with PytestUnraisableExceptionWarning that is raised because of __del__() calling self.close() in Redis class, as the self.connection attribute was not set due to early failure in the Redis() constructor. Example: calling redis.StrictRedis(**connectionInfo) in a constructor, with connectionInfo={'hog':'cat'} * linters * linters Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
- Loading branch information