Skip to content

[MRG] [HOTFIX] Fix capitalization in test and hence fix failing travis at master #9317

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 3 commits into from
Jul 10, 2017

Conversation

raghavrv
Copy link
Member

The error messages in tests need correction after #9275

@jmschrei @jnothman

@jmschrei
Copy link
Member

I don't think that's the issue since the messages got changed more than just the capitalization? I'm pretty sure all the tests were passing when I hit merge.

@raghavrv
Copy link
Member Author

Oh yea. the error message is changed by a bit. fixed now. passes travis. Good for merge?

@jmschrei
Copy link
Member

jmschrei commented Jul 10, 2017

Thanks for taking a stab at this. It's weird that this is passing the CI tests. This is the full error for the master branch: AssertionError: "Can't handle mix of binary and continuous" does not match "Classification metrics can't handle a mix of binary and continuous targets", so presumably the text should read

assert_raises_regex(ValueError,  "Classification metrics can't "
    "handle a mix of binary and continuous targets", 
    cross_validate, estimator, X, y, scoring={"foo": multiclass_scorer})

or something like that?

@raghavrv
Copy link
Member Author

thanks. have updated the full error message as you suggested.

@TomDLT
Copy link
Member

TomDLT commented Jul 10, 2017

LGTM and CI are green
Merging to avoid more trouble in other PR
Thanks @raghavrv !

@TomDLT TomDLT merged commit add9b7f into scikit-learn:master Jul 10, 2017
@raghavrv raghavrv deleted the fix_master branch July 11, 2017 15:29
massich pushed a commit to massich/scikit-learn that referenced this pull request Jul 13, 2017
…s at master (scikit-learn#9317)

* Fix capitalization in test and hence fix master

* Fix error message

* ENH fix tests with full error message
yarikoptic added a commit to yarikoptic/scikit-learn that referenced this pull request Jul 27, 2017
Release 0.19b2

* tag '0.19b2': (808 commits)
  Preparing 0.19b2
  [MRG+1] FIX out of bounds array access in SAGA (scikit-learn#9376)
  FIX make test_importances pass on 32 bit linux
  Release 0.19b1
  DOC remove 'in dev' header in whats_new.rst
  DOC typos in whats_news.rst [ci skip]
  [MRG] DOC cleaning up what's new for 0.19 (scikit-learn#9252)
  FIX t-SNE memory usage and many other optimizer issues (scikit-learn#9032)
  FIX broken link in gallery and bad title rendering
  [MRG] DOC Replace \acute by prime (scikit-learn#9332)
  Fix typos (scikit-learn#9320)
  [MRG + 1 (rv) + 1 (alex) + 1] Add a check to test the docstring params and their order (scikit-learn#9206)
  DOC Residual sum vs. regression sum (scikit-learn#9314)
  [MRG] [HOTFIX] Fix capitalization in test and hence fix failing travis at master (scikit-learn#9317)
  More informative error message for classification metrics given regression output (scikit-learn#9275)
  [MRG] COSMIT Remove unused parameters in private functions (scikit-learn#9310)
  [MRG+1] Ridgecv normalize (scikit-learn#9302)
  [MRG + 2] ENH Allow `cross_val_score`, `GridSearchCV` et al. to evaluate on multiple metrics (scikit-learn#7388)
  Add data_home parameter to fetch_kddcup99 (scikit-learn#9289)
  FIX makedirs(..., exists_ok) not available in Python 2 (scikit-learn#9284)
  ...
yarikoptic added a commit to yarikoptic/scikit-learn that referenced this pull request Jul 27, 2017
* releases: (808 commits)
  Preparing 0.19b2
  [MRG+1] FIX out of bounds array access in SAGA (scikit-learn#9376)
  FIX make test_importances pass on 32 bit linux
  Release 0.19b1
  DOC remove 'in dev' header in whats_new.rst
  DOC typos in whats_news.rst [ci skip]
  [MRG] DOC cleaning up what's new for 0.19 (scikit-learn#9252)
  FIX t-SNE memory usage and many other optimizer issues (scikit-learn#9032)
  FIX broken link in gallery and bad title rendering
  [MRG] DOC Replace \acute by prime (scikit-learn#9332)
  Fix typos (scikit-learn#9320)
  [MRG + 1 (rv) + 1 (alex) + 1] Add a check to test the docstring params and their order (scikit-learn#9206)
  DOC Residual sum vs. regression sum (scikit-learn#9314)
  [MRG] [HOTFIX] Fix capitalization in test and hence fix failing travis at master (scikit-learn#9317)
  More informative error message for classification metrics given regression output (scikit-learn#9275)
  [MRG] COSMIT Remove unused parameters in private functions (scikit-learn#9310)
  [MRG+1] Ridgecv normalize (scikit-learn#9302)
  [MRG + 2] ENH Allow `cross_val_score`, `GridSearchCV` et al. to evaluate on multiple metrics (scikit-learn#7388)
  Add data_home parameter to fetch_kddcup99 (scikit-learn#9289)
  FIX makedirs(..., exists_ok) not available in Python 2 (scikit-learn#9284)
  ...
yarikoptic added a commit to yarikoptic/scikit-learn that referenced this pull request Jul 27, 2017
* dfsg: (808 commits)
  Preparing 0.19b2
  [MRG+1] FIX out of bounds array access in SAGA (scikit-learn#9376)
  FIX make test_importances pass on 32 bit linux
  Release 0.19b1
  DOC remove 'in dev' header in whats_new.rst
  DOC typos in whats_news.rst [ci skip]
  [MRG] DOC cleaning up what's new for 0.19 (scikit-learn#9252)
  FIX t-SNE memory usage and many other optimizer issues (scikit-learn#9032)
  FIX broken link in gallery and bad title rendering
  [MRG] DOC Replace \acute by prime (scikit-learn#9332)
  Fix typos (scikit-learn#9320)
  [MRG + 1 (rv) + 1 (alex) + 1] Add a check to test the docstring params and their order (scikit-learn#9206)
  DOC Residual sum vs. regression sum (scikit-learn#9314)
  [MRG] [HOTFIX] Fix capitalization in test and hence fix failing travis at master (scikit-learn#9317)
  More informative error message for classification metrics given regression output (scikit-learn#9275)
  [MRG] COSMIT Remove unused parameters in private functions (scikit-learn#9310)
  [MRG+1] Ridgecv normalize (scikit-learn#9302)
  [MRG + 2] ENH Allow `cross_val_score`, `GridSearchCV` et al. to evaluate on multiple metrics (scikit-learn#7388)
  Add data_home parameter to fetch_kddcup99 (scikit-learn#9289)
  FIX makedirs(..., exists_ok) not available in Python 2 (scikit-learn#9284)
  ...
dmohns pushed a commit to dmohns/scikit-learn that referenced this pull request Aug 7, 2017
…s at master (scikit-learn#9317)

* Fix capitalization in test and hence fix master

* Fix error message

* ENH fix tests with full error message
dmohns pushed a commit to dmohns/scikit-learn that referenced this pull request Aug 7, 2017
…s at master (scikit-learn#9317)

* Fix capitalization in test and hence fix master

* Fix error message

* ENH fix tests with full error message
NelleV pushed a commit to NelleV/scikit-learn that referenced this pull request Aug 11, 2017
…s at master (scikit-learn#9317)

* Fix capitalization in test and hence fix master

* Fix error message

* ENH fix tests with full error message
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
…s at master (scikit-learn#9317)

* Fix capitalization in test and hence fix master

* Fix error message

* ENH fix tests with full error message
AishwaryaRK pushed a commit to AishwaryaRK/scikit-learn that referenced this pull request Aug 29, 2017
…s at master (scikit-learn#9317)

* Fix capitalization in test and hence fix master

* Fix error message

* ENH fix tests with full error message
maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
…s at master (scikit-learn#9317)

* Fix capitalization in test and hence fix master

* Fix error message

* ENH fix tests with full error message
jwjohnson314 pushed a commit to jwjohnson314/scikit-learn that referenced this pull request Dec 18, 2017
…s at master (scikit-learn#9317)

* Fix capitalization in test and hence fix master

* Fix error message

* ENH fix tests with full error message
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.

3 participants