Need to handle empty response body and make it to success

My question: I have one delete request which is getting success response and empty response body as expected , but in test there is AssertError for empty response body.
I want to handle that and avoid fail in final count.

Details (like screenshots):

How I found the problem:
Its just that I was sending some delete request and got this AsserError

I’ve already tried: