Skip to content

ignore FutureWarning in tests #7079

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 14, 2020
Merged

Conversation

stas00
Copy link
Contributor

@stas00 stas00 commented Sep 11, 2020

As discussed in #7033 we can't deal with transformers' FutureWarning in tests, since we have to keep those tests around until they become normal warnings and then the tests will get fixed/adjusted. So currently they just generate noise that can't be acted upon.

The only side-effect I can see is with other libraries' FutureWarnings, which now will be silenced too, but again we can easily fix those as soon as those aren't futuristic any more.

@stas00 stas00 mentioned this pull request Sep 11, 2020
@LysandreJik
Copy link
Member

Yes, I agree with this. Thanks @stas00!

@LysandreJik LysandreJik merged commit 576eec9 into huggingface:master Sep 14, 2020
@stas00 stas00 deleted the futurewarn branch September 14, 2020 16:51
Zigur pushed a commit to Zigur/transformers that referenced this pull request Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants