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
Cleanup TestError #2177
Merged
Merged
Cleanup TestError #2177
Commits on Nov 5, 2020
-
Use a more appropriate exception when a GPI object cannot be mapped t…
…o a Python type `TestError` was unnecessary here. It was used to fail the test if a signal could not be mapped to a Python SimHandle type. This could be easily done with a standard exception. This cleans up the last usage of `TestError` in core code and will allow for it's deprecation.
Configuration menu - View commit details
-
Copy full SHA for 31a4dc0 - Browse repository at this point
Copy the full SHA 31a4dc0View commit details -
TestError is no longer used internally, and it was never a good idea for a user to raise a TestError rather than a TestFailure, so it is being deprecated.
Configuration menu - View commit details
-
Copy full SHA for 690519b - Browse repository at this point
Copy the full SHA 690519bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6dda8a - Browse repository at this point
Copy the full SHA c6dda8aView commit details -
Allow more than one warning to be collected in assert_deprecated
`assert_raises` causes 2 warnings. One for calling into the deprecated `assert_raises` and another for instantiating the deprecated `TestError`.
Configuration menu - View commit details
-
Copy full SHA for 35d2b2e - Browse repository at this point
Copy the full SHA 35d2b2eView commit details -
Apply suggestions from code review
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 021ac99 - Browse repository at this point
Copy the full SHA 021ac99View commit details -
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 96e3337 - Browse repository at this point
Copy the full SHA 96e3337View commit details
Commits on Nov 6, 2020
-
Apply suggestions from code review
Co-authored-by: Marlon James <marlon.james@garmin.com>
Configuration menu - View commit details
-
Copy full SHA for 8f6ed0c - Browse repository at this point
Copy the full SHA 8f6ed0cView commit details
Commits on Nov 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for dd9a7d5 - Browse repository at this point
Copy the full SHA dd9a7d5View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.