Closed jakkdl closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
b6a31d7
) 99.64% compared to head (06168d2
) 99.64%. Report is 1 commits behind head on master.
Making sure, nothing can go wrong with the literal is False
compare? No one could set strict exception groups to a value that could be interpreted as the False
branch?
Making sure, nothing can go wrong with the literal
is False
compare? No one could set strict exception groups to a value that could be interpreted as theFalse
branch?
Right, if somebody is supplying a falsy value of an incorrect type they're not gonna get a warning. So I suppose I could do
if not strict_exception_groups and strict_exception_groups is not None:
...
Don't think we need to be that defensive, but I guess it also doesn't hurt.
Wasn't totally sure which issue to refer to, ended up going with #2929
the removed
with
block intest_subprocess
was added to try and track down some weirdness in https://github.com/python-trio/trio/pull/2886#discussion_r1449035885 - but I don't think it served much of a purpose in the end, so opted now to remove it instead of wrapping it in apytest.warns
.