bpo-46685: improve test coverage of `Self` and `Never` in `typing` (GH-31222)

1 file changed