Why does pytest show extra code lines after assert statements in Python 3.9+?