Wrong assert in Pool.register
Since #7178 (closed), the pool is filled by (cls, depends) so the assert is always true because it does not test the right value.
Since #7178 (closed), the pool is filled by (cls, depends) so the assert is always true because it does not test the right value.