Issue #23353: improve exceptions tests for generators
1 file changed