MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_isatty

Method test_isatty

Lib/test/test_os.py:2510–2511  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2508
2509 @unittest.skipUnless(hasattr(os, 'isatty'), 'test needs os.isatty()')
2510 def test_isatty(self):
2511 self.assertEqual(os.isatty(os_helper.make_bad_fd()), False)
2512
2513 @unittest.skipUnless(hasattr(os, 'closerange'), 'test needs os.closerange()')
2514 def test_closerange(self):

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
isattyMethod · 0.45

Tested by

no test coverage detected