Depreciation warning interrupts kernel

The following depreciation warning interrupts the kernel, which is not supposed to be the case for the kernel to be interrupted.

Considering the whole workbook we can point out that the first use of cross_validation module did not trigger any warnings and therefore the workflow was not interrupted

To be more precise, by “interrupt” in this case I mean that the sell could not proceed after the line, which triggered the warning (we can see it by no message printed after the warning appeared)

The following sell successfully completed though (the file was created)

Hello, Sergey!

Warning should not interrupt evaluation (but stderr is placed at the end of the output block):

But I’ll check it one more time using your code.