Catch expected warning in sklearn/tests/test_naive_bayes.py (part of #2274)