[Python-checkins] Remove asserts that confuse `enum _framestate` with `enum _frameowner` (GH-124148)