Remove local imports of warn
There is a module-level import of warn. If you actually trigger a warning with the current state you, get an UnboundLocalError because you reference warn before assignment...
Loading
Please register or sign in to comment