DLS Course 4 Week1 pool backward error in tests

I wrote my code and tested it several times, read all the threads on this task, but I keep getting an error and I don’t understand why. I will be very grateful for your help

My code:
{Moderator Edit: Solution Code Removed}

I get this error all the time

And my function create_mask_from_window passed all tests
{Moderator Edit: Solution Code Removed}

Your code is correct except for the horiz_end. Double-check it.

PS: Sharing your code is not allowed. Next time, only share your full error.

Thanks, I really didn’t notice that.