Replaced manual warning detection assert_warns from testing.utils in test_common, corrected syntax in test_multiclass