Searched refs:BadFile (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_fcntl.py | 54 class BadFile: class 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)
|
D | test_tarfile.py | 1141 class BadFile(StringIO.StringIO): class 1148 f = BadFile()
|
/external/python/cpython3/Lib/test/ |
D | test_fcntl.py | 48 class BadFile: class 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)
|
D | test_tarfile.py | 1316 class BadFile(io.BytesIO): class 1323 f = BadFile()
|