On Fri, 2 May 2025 15:05:48 +0200 Paolo Abeni wrote: > >> @@ -229,11 +249,12 @@ KSFT_DISRUPTIVE = True > >> cnt_key = 'xfail' > >> except BaseException as e: > >> stop |= isinstance(e, KeyboardInterrupt) > >> + stop |= isinstance(e, KsftTerminate) > > > > The first isinstance() will return True for a KsftTerminate as it's a > > subclass of KeyboardInterrupt, and thus the second line isn't needed. > > @Jakub: I'm using the selftests code to refresh my rather rusty python > skills, I think it would be good to address the above and keep the > codebase clean.
Right, right, I was just distracted the last 3 days, wasn't trying to ignore :) Will respin shortly, good catch indeed.
