SF Patch #494867 test file methods

Test that the file methods raise ValueError when called on a closed file.
Test .isatty()
Test name, closed attributes
1 file changed