/third_party/python/Lib/test/ |
D | test_posix.py | 28 requires_32b = unittest.skipUnless(sys.maxsize < 2**32, 41 requires_sched = unittest.skipUnless(_supports_sched(), 'requires POSIX scheduler API') 76 @unittest.skipUnless(hasattr(posix, 'getresuid'), 84 @unittest.skipUnless(hasattr(posix, 'getresgid'), 92 @unittest.skipUnless(hasattr(posix, 'setresuid'), 100 @unittest.skipUnless(hasattr(posix, 'setresuid'), 109 @unittest.skipUnless(hasattr(posix, 'setresgid'), 117 @unittest.skipUnless(hasattr(posix, 'setresgid'), 126 @unittest.skipUnless(hasattr(posix, 'initgroups'), 151 @unittest.skipUnless(hasattr(posix, 'statvfs'), [all …]
|
D | _test_eintr.py | 39 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") 79 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") 99 @unittest.skipUnless(hasattr(os, 'wait3'), 'requires wait3()') 112 @unittest.skipUnless(hasattr(os, 'wait4'), 'requires wait4()') 184 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") 188 @unittest.skipUnless(hasattr(socket, 'socketpair'), 'needs socketpair()') 227 @unittest.skipUnless(hasattr(socket.socket, 'recvmsg'), 'needs recvmsg()') 283 @unittest.skipUnless(hasattr(socket.socket, 'sendmsg'), 'needs sendmsg()') 316 @unittest.skipUnless(hasattr(os, 'mkfifo'), 'needs mkfifo()') 367 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") [all …]
|
D | test_signal.py | 91 @unittest.skipUnless(sys.executable, "sys.executable required.") 108 @unittest.skipUnless(sys.platform == "win32", "Windows specific") 141 @unittest.skipUnless(sys.executable, "sys.executable required.") 397 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'), 415 @unittest.skipUnless(hasattr(socket, 'socketpair'), 'need socket.socketpair') 612 @unittest.skipUnless(hasattr(signal, 'siginterrupt'), "needs signal.siginterrupt()") 698 @unittest.skipUnless(hasattr(signal, 'getitimer') and hasattr(signal, 'setitimer'), 806 @unittest.skipUnless(hasattr(signal, 'sigpending'), 811 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'), 813 @unittest.skipUnless(hasattr(signal, 'sigpending'), [all …]
|
D | test_os.py | 91 return unittest.skipUnless(hasattr(os, name), 'requires os.%s' % name) 226 @unittest.skipUnless(INT_MAX < PY_SSIZE_T_MAX, 262 @unittest.skipUnless(sys.platform == 'win32', 312 @unittest.skipUnless(hasattr(os, 'copy_file_range'), 'test needs os.copy_file_range()') 317 @unittest.skipUnless(hasattr(os, 'copy_file_range'), 'test needs os.copy_file_range()') 351 @unittest.skipUnless(hasattr(os, 'copy_file_range'), 'test needs os.copy_file_range()') 396 @unittest.skipUnless(hasattr(os, 'splice'), 'test needs os.splice()') 401 @unittest.skipUnless(hasattr(os, 'splice'), 'test needs os.splice()') 434 @unittest.skipUnless(hasattr(os, 'splice'), 'test needs os.splice()') 472 @unittest.skipUnless(hasattr(os, 'splice'), 'test needs os.splice()') [all …]
|
D | test_uuid.py | 523 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 549 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 557 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 563 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 569 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 642 @unittest.skipUnless(hasattr(os, 'fork'), 'need os.fork') 673 @unittest.skipUnless(c_uuid, 'requires the C _uuid module') 826 @unittest.skipUnless(_uuid._ifconfig_getnode in _uuid._GETTERS, 832 @unittest.skipUnless(_uuid._ip_getnode in _uuid._GETTERS, 838 @unittest.skipUnless(_uuid._arp_getnode in _uuid._GETTERS, [all …]
|
D | test_time.py | 93 @unittest.skipUnless(hasattr(time, 'clock_gettime'), 99 @unittest.skipUnless(hasattr(time, 'clock_gettime'), 101 @unittest.skipUnless(hasattr(time, 'CLOCK_MONOTONIC'), 108 @unittest.skipUnless(hasattr(time, 'pthread_getcpuclockid'), 110 @unittest.skipUnless(hasattr(time, 'clock_gettime'), 127 @unittest.skipUnless(hasattr(time, 'clock_getres'), 134 @unittest.skipUnless(hasattr(time, 'clock_settime'), 320 @unittest.skipUnless(hasattr(time, "tzset"), 437 @unittest.skipUnless(platform.libc_ver()[0] != 'glibc', 511 @unittest.skipUnless(hasattr(time, 'clock_settime'), [all …]
|
D | test_crypt.py | 15 @unittest.skipUnless(sys.platform == 'win32', 'This should only run on windows') 23 @unittest.skipUnless(crypt, 'crypt module is required') 59 @unittest.skipUnless( 78 @unittest.skipUnless(
|
D | test_socket.py | 429 @unittest.skipUnless(HAVE_SOCKET_UDPLITE, 488 @unittest.skipUnless(HAVE_SOCKET_VSOCK, 490 @unittest.skipUnless(get_cid() != 2, 851 @unittest.skipUnless(_socket is not None, 'need _socket module') 948 @unittest.skipUnless(os.name == "nt", "Windows specific") 959 @unittest.skipUnless(sys.platform == 'darwin', 'macOS specific test') 960 @unittest.skipUnless(socket_helper.IPV6_ENABLED, 'IPv6 required for this test') 1033 @unittest.skipUnless(hasattr(socket, 'sethostname'), "test needs socket.sethostname()") 1034 @unittest.skipUnless(hasattr(socket, 'gethostname'), "test needs socket.gethostname()") 1053 @unittest.skipUnless(hasattr(socket, 'if_nameindex'), [all …]
|
D | test_ntpath.py | 260 @unittest.skipUnless(HAVE_GETFINALPATHNAME, 'need _getfinalpathname') 273 @unittest.skipUnless(HAVE_GETFINALPATHNAME, 'need _getfinalpathname') 284 @unittest.skipUnless(HAVE_GETFINALPATHNAME, 'need _getfinalpathname') 295 @unittest.skipUnless(HAVE_GETFINALPATHNAME, 'need _getfinalpathname') 352 @unittest.skipUnless(HAVE_GETFINALPATHNAME, 'need _getfinalpathname') 399 @unittest.skipUnless(HAVE_GETFINALPATHNAME, 'need _getfinalpathname') 443 @unittest.skipUnless(HAVE_GETFINALPATHNAME, 'need _getfinalpathname') 476 @unittest.skipUnless(HAVE_GETFINALPATHNAME, 'need _getfinalpathname') 480 @unittest.skipUnless(HAVE_GETFINALPATHNAME, 'need _getfinalpathname') 481 @unittest.skipUnless(HAVE_GETSHORTPATHNAME, 'need _getshortpathname') [all …]
|
D | test_eintr.py | 8 @unittest.skipUnless(os.name == "posix", "only supported on Unix") 11 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()")
|
D | test_xml_etree_c.py | 16 @unittest.skipUnless(cET, 'requires _elementtree') 185 @unittest.skipUnless(cET, 'requires _elementtree') 193 @unittest.skipUnless(cET, 'requires _elementtree') 211 @unittest.skipUnless(cET, 'requires _elementtree')
|
D | test_stat.py | 164 @unittest.skipUnless(hasattr(os, 'symlink'), 'os.symlink not available') 175 @unittest.skipUnless(hasattr(os, 'mkfifo'), 'os.mkfifo not available') 190 @unittest.skipUnless(os.name == 'posix', 'requires Posix') 230 @unittest.skipUnless(sys.platform == "win32",
|
D | test_selectors.py | 113 @unittest.skipUnless(os.name == 'posix', "requires posix") 388 @unittest.skipUnless(hasattr(signal, "alarm"), 418 @unittest.skipUnless(hasattr(signal, "alarm"), 447 @unittest.skipUnless(resource, "Test needs resource module") 506 @unittest.skipUnless(hasattr(selectors, 'PollSelector'), 514 @unittest.skipUnless(hasattr(selectors, 'EpollSelector'), 532 @unittest.skipUnless(hasattr(selectors, 'KqueueSelector'), 565 @unittest.skipUnless(hasattr(selectors, 'DevpollSelector'),
|
D | test_posixpath.py | 196 @unittest.skipUnless(os_helper.can_symlink(), 347 @unittest.skipUnless(hasattr(os, "symlink"), 358 @unittest.skipUnless(hasattr(os, "symlink"), 371 @unittest.skipUnless(hasattr(os, "symlink"), 381 @unittest.skipUnless(hasattr(os, "symlink"), 423 @unittest.skipUnless(hasattr(os, "symlink"), 465 @unittest.skipUnless(hasattr(os, "symlink"), 480 @unittest.skipUnless(hasattr(os, "symlink"), 500 @unittest.skipUnless(hasattr(os, "symlink"), 520 @unittest.skipUnless(hasattr(os, "symlink"), [all …]
|
D | test_resource.py | 140 @unittest.skipUnless(sys.platform == 'linux', 'test requires Linux') 151 @unittest.skipUnless(hasattr(resource, 'prlimit'), 'no prlimit') 163 @unittest.skipUnless(hasattr(resource, 'prlimit'), 'no prlimit')
|
D | test_threading.py | 508 @unittest.skipUnless(hasattr(os, 'fork'), 'needs os.fork()') 536 @unittest.skipUnless(hasattr(os, 'fork'), 'test needs fork()') 563 @unittest.skipUnless(hasattr(os, 'fork'), "needs os.fork()") 597 @unittest.skipUnless(hasattr(os, 'fork'), "test needs os.fork()") 598 @unittest.skipUnless(hasattr(os, 'waitpid'), "test needs os.waitpid()") 619 @unittest.skipUnless(hasattr(os, 'fork'), "test needs os.fork()") 620 @unittest.skipUnless(hasattr(os, 'waitpid'), "test needs os.waitpid()") 921 @unittest.skipUnless(Py_DEBUG, 'need debug build (Py_DEBUG)') 996 @unittest.skipUnless(hasattr(os, 'fork'), "needs os.fork()") 1017 @unittest.skipUnless(hasattr(os, 'fork'), "needs os.fork()") [all …]
|
D | test_gdb.py | 727 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands") 740 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands") 748 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands") 756 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands") 971 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands") 1003 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
|
D | test_faulthandler.py | 243 @unittest.skipUnless(hasattr(signal, 'SIGBUS'), 'need signal.SIGBUS') 257 @unittest.skipUnless(hasattr(signal, 'SIGILL'), 'need signal.SIGILL') 814 @unittest.skipUnless(MS_WINDOWS, 'specific to Windows') 829 @unittest.skipUnless(MS_WINDOWS, 'specific to Windows') 845 @unittest.skipUnless(MS_WINDOWS, 'specific to Windows') 873 @unittest.skipUnless(MS_WINDOWS, 'specific to Windows')
|
/third_party/python/Lib/distutils/tests/ |
D | test_archive_util.py | 66 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 74 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 79 @unittest.skipUnless(bz2, 'Need bz2 support to run') 84 @unittest.skipUnless(lzma, 'Need lzma support to run') 89 @unittest.skipUnless(can_fs_encode('årchiv'), 97 @unittest.skipUnless(can_fs_encode('のアーカイブ'), 108 unittest.skipUnless(splitdrive(tmpdir)[0] == splitdrive(tmpdir2)[0], 147 @unittest.skipUnless(find_executable('tar') and find_executable('gzip') 204 @unittest.skipUnless(find_executable('compress'), 237 @unittest.skipUnless(ZIP_SUPPORT and ZLIB_SUPPORT, [all …]
|
D | test_sdist.py | 91 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 136 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 169 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 248 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 335 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 377 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 394 @unittest.skipUnless(ZLIB_SUPPORT, "Need zlib support to run") 411 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 441 @unittest.skipUnless(ZLIB_SUPPORT, "requires zlib") 442 @unittest.skipUnless(UID_GID_SUPPORT, "Requires grp and pwd support")
|
D | test_check.py | 74 @unittest.skipUnless(HAS_DOCUTILS, "won't test without docutils") 89 @unittest.skipUnless(HAS_DOCUTILS, "won't test without docutils") 116 @unittest.skipUnless(HAS_DOCUTILS, "won't test without docutils")
|
/third_party/python/Lib/ctypes/test/ |
D | test_loading.py | 54 @unittest.skipUnless(os.name == "nt", 72 @unittest.skipUnless(os.name == "nt", 89 @unittest.skipUnless(os.name == "nt", 'Windows-specific test') 100 @unittest.skipUnless(os.name == "nt", 'Windows-specific test') 119 @unittest.skipUnless(os.name == "nt",
|
D | test_win32.py | 9 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test') 11 @unittest.skipUnless('MSC' in sys.version, "SEH only supported by MSC") 28 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test') 46 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test') 70 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test')
|
/third_party/python/Lib/unittest/test/ |
D | test_break.py | 11 @unittest.skipUnless(hasattr(os, 'kill'), "Test requires os.kill") 263 @unittest.skipUnless(hasattr(os, 'kill'), "Test requires os.kill") 268 @unittest.skipUnless(hasattr(os, 'kill'), "Test requires os.kill") 273 @unittest.skipUnless(hasattr(os, 'kill'), "Test requires os.kill")
|
/third_party/python/Lib/test/test_importlib/ |
D | test_windows.py | 77 @unittest.skipUnless(sys.platform.startswith('win'), 'requires Windows') 115 @unittest.skipUnless(sys.platform.startswith('win'), 'requires Windows') 138 @unittest.skipUnless(sys.platform.startswith('win'), 'requires Windows')
|