I was thinking about that too.

```Python
with ignore_warnings:
    clf.fit(X, Y)
    # do more stuff , leave block 

# be happy
```