Skip to content
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

More informative error message when Standardize has wrong batch shape; fixed unit test #1807

Closed
wants to merge 1 commit into from

Conversation

esantorella
Copy link
Member

Summary:

  • More informative error message when Standardize has wrong batch shape
  • self.assertRaisesRegex(..., msg=) doesn't check that the error message matches msg! Fixed a test that used this where the message actually did not match msg.

Differential Revision: D45313942

…; fixed unit test

Summary:
- More informative error message when Standardize has wrong batch shape
- `self.assertRaisesRegex(..., msg=)` doesn't check that the error message matches `msg`! Fixed a test that used this where the message actually did not match `msg`.

Differential Revision: D45313942

fbshipit-source-id: 8d653fe99ff3f333504fffbdf43df8554054ee67
@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Apr 26, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45313942

@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Merging #1807 (dda9f31) into main (32d1a00) will not change coverage.
The diff coverage is 100.00%.

❗ Current head dda9f31 differs from pull request most recent head 8cb07d5. Consider uploading reports for the commit 8cb07d5 to get more accurate results

@@            Coverage Diff            @@
##              main     #1807   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          170       170           
  Lines        14912     14912           
=========================================
  Hits         14912     14912           
Impacted Files Coverage Δ
botorch/models/transforms/outcome.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c3d100f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants