Issue #12367: Add a test on error attribute of select.error

Thanks to the PEP 3151, select.error (which is just an alias to OSError) has
now an error attribute.
1 file changed