Home
last modified time | relevance | path

Searched refs:BadFile (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_fcntl.py54 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)
Dtest_tarfile.py1141 class BadFile(StringIO.StringIO): class
1148 f = BadFile()
/external/python/cpython3/Lib/test/
Dtest_fcntl.py48 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)
Dtest_tarfile.py1369 class BadFile(io.BytesIO): class
1376 f = BadFile()