bpo-41443:  Add more attribute checking in test_posix (GH-21688)

2 files changed