Issue #21069: Merge test_fileno() from 3.5