Searched refs:BadFile (Results 1 - 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
H A D | test_fcntl.py | 54 class BadFile: class in inherits: 94 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK) 98 fcntl.fcntl(BadFile('spam'), fcntl.F_SETFL, os.O_NONBLOCK) 107 fcntl.fcntl(BadFile(INT_MAX + 1), fcntl.F_SETFL, os.O_NONBLOCK) 111 fcntl.fcntl(BadFile(INT_MIN - 1), fcntl.F_SETFL, os.O_NONBLOCK)
|
H A D | test_tarfile.py | 1141 class BadFile(StringIO.StringIO): class in function:WriteTest.test_open_nonwritable_fileobj 1148 f = BadFile()
|
/external/python/cpython3/Lib/test/ |
H A D | test_fcntl.py | 48 class BadFile: class in inherits: 90 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK) 94 fcntl.fcntl(BadFile('spam'), fcntl.F_SETFL, os.O_NONBLOCK) 103 fcntl.fcntl(BadFile(INT_MAX + 1), fcntl.F_SETFL, os.O_NONBLOCK) 107 fcntl.fcntl(BadFile(INT_MIN - 1), fcntl.F_SETFL, os.O_NONBLOCK)
|
H A D | test_tarfile.py | 1316 class BadFile(io.BytesIO): class in function:WriteTest.test_open_nonwritable_fileobj 1323 f = BadFile()
|
Completed in 128 milliseconds