-
Notifications
You must be signed in to change notification settings - Fork 484
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 1.9 changes #3878
base: stable/1.9
Are you sure you want to change the base?
More 1.9 changes #3878
Conversation
c7bf538
to
0a2431b
Compare
0a2431b
to
54b274c
Compare
@@ -721,7 +721,15 @@ def __init__(self, coroutine): | |||
|
|||
@property | |||
def _outcome(self): | |||
return self._coroutine._outcome | |||
outcome = self._coroutine._outcome | |||
if type(self._coroutine) is Task and isinstance(outcome, outcomes.Error): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have to explicitly check for Task
so that all @cocotb.coroutine
"tasks" don't issue this warning.
73f24c4
to
1235d6b
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## stable/1.9 #3878 +/- ##
==============================================
- Coverage 64.79% 64.49% -0.30%
==============================================
Files 49 49
Lines 9131 9142 +11
Branches 2461 2469 +8
==============================================
- Hits 5916 5896 -20
- Misses 2627 2652 +25
- Partials 588 594 +6 ☔ View full report in Codecov by Sentry. |
b14cc6e
to
64f207f
Compare
Had to fix a number of tests in test_timing_triggers because of propagation of warnings as exceptions. Chucked a couple tests that were testing the thing we were removing and the awful test_readwrite_in_readonlhy.
Also deprecate with an explicit warning the .value attribute that was deprecated in the documentation only.
Calls to find_libpython.find_libpython() may return an empty string or None if libpython was not properly installed. This was causing a TypeError exception to be thrown with a non-obvious error message. The value returned by find_libpython.find_libpython() is now checked and if not found a more helpful error message is provided.
64f207f
to
16a222d
Compare
Waiting on outcome of whether the python installation requirements are correct. |
Update
FutureWarning
when Tasks throw an exception. The current behavior is the opposite of what's going to happen in 2.0. Also close #3845. Also backports #3879 and #3868.