Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/celery/celery
/ test_isatty
Function
test_isatty
t/unit/utils/test_platforms.py:28–32 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
27
28
def
test_isatty():
29
fh = Mock(name=
'fh'
)
30
assert isatty(fh) is fh.isatty()
31
fh.isatty.side_effect = AttributeError()
32
assert not isatty(fh)
33
34
35
class
test_find_option_with_arg:
Callers
nothing calls this directly
Calls
2
isatty
Function · 0.90
isatty
Method · 0.80
Tested by
no test coverage detected