Searched defs:support (Results 476 - 500 of 566) sorted by relevance

<<11121314151617181920>>

/external/python/cpython3/Lib/test/
H A Dtest_ftplib.py20 from test import support namespace
21 from test.support import HOST, HOSTv6
22 threading = support.import_module('threading')
607 with support.check_warnings(('', BytesWarning), quiet=True):
737 port = support.find_unused_port()
749 port = support.find_unused_port()
786 @skipUnless(support.IPV6_ENABLED, "IPv6 not enabled")
966 self.port = support.bind_port(self.sock)
1059 support.check__all__(self, ftplib, blacklist=blacklist)
1068 thread_info = support
[all...]
H A Dtest_getargs2.py4 from test import support namespace
6 support.import_module('_testcapi')
H A Dtest_httpservers.py25 from test import support namespace
26 threading = support.import_module('threading')
59 self._threads = support.threading_setup()
60 os.environ = support.EnvironmentVarGuard()
70 support.threading_cleanup(*self._threads)
301 with support.captured_stderr() as err:
312 with support.captured_stderr() as err:
372 @support.requires_mac_ver(10, 5)
375 @unittest.skipUnless(support.TESTFN_UNDECODABLE,
376 'need support
[all...]
H A Dtest_imaplib.py1 from test import support namespace
5 threading = support.import_module('threading')
15 from test.support import (reap_threads, verbose, transient_internet,
199 self.server = self.server_class((support.HOST, 0), imap_handler)
259 'does not support ENABLE'):
267 'does not support ENABLE'):
554 server, thread = self.make_server((support.HOST, 0), hdlr)
582 # support them. See issue #21815.
887 support.is_resource_enabled('network'), 'network resource disabled')
922 support
[all...]
H A Dtest_itertools.py2 from test import support namespace
14 maxsize = support.MAX_Py_ssize_t
279 @support.bigaddrspacetest
285 @support.impl_detail("tuple reuse is specific to CPython")
366 @support.bigaddrspacetest
372 @support.impl_detail("tuple reuse is specific to CPython")
441 @support.bigaddrspacetest
446 @support.impl_detail("tuple reuse is specific to CPython")
865 @support.impl_detail("tuple reuse is specific to CPython")
934 @support
[all...]
H A Dtest_math.py4 from test.support import run_unittest, verbose, requires_IEEE_754
5 from test import support namespace
511 @support.cpython_only
809 @support.requires_mac_ver(10, 5)
H A Dtest_nntplib.py9 from test import support namespace
237 # XXX put a generic version in test.support?
241 with support.transient_internet(self.NNTP_HOST):
287 support.requires("network")
288 with support.transient_internet(cls.NNTP_HOST):
296 @unittest.skipUnless(ssl, 'requires SSL support')
1407 @unittest.skipUnless(ssl, 'requires SSL support')
1507 @unittest.skipUnless(ssl, 'requires SSL support')
1517 port = support.bind_port(sock)
1524 self.nntp = NNTP(support
[all...]
H A Dtest_pydoc.py15 import test.support namespace
26 from test.support.script_helper import assert_python_ok
27 from test.support import (
43 if test.support.HAVE_DOCSTRINGS:
592 with test.support.temp_cwd() as test_dir:
618 with test.support.temp_cwd() as test_dir:
622 with test.support.temp_cwd() as test_dir:
1095 test.support.run_unittest(PydocDocTest,
H A Dtest_smtpd.py3 from test import support, mock_socket namespace
41 server = smtpd.SMTPServer((support.HOST, 0), ('b', 0),
60 (support.HOST, 0),
90 server = smtpd.DebuggingServer((support.HOST, 0), ('b', 0),
94 with support.captured_stdout() as s:
107 server = smtpd.DebuggingServer((support.HOST, 0), ('b', 0))
110 with support.captured_stdout() as s:
123 server = smtpd.DebuggingServer((support.HOST, 0), ('b', 0),
127 with support.captured_stdout() as s:
140 server = smtpd.DebuggingServer((support
[all...]
H A Dtest_smtplib.py20 from test import support, mock_socket namespace
27 HOST = support.HOST
135 with support.captured_stderr() as stderr:
145 with support.captured_stderr() as stderr:
245 port = support.find_unused_port()
605 self.port = support.bind_port(self.sock)
651 # AUTH related stuff. It would be nice if support for this were in smtpd.
998 #test infrastructure can support it.
1214 # Not all AUTH methods support this; some require a challenge. AUTH
1276 @support
[all...]
H A Dtest_sys.py1 import unittest, test.support namespace
2 from test.support.script_helper import assert_python_ok, assert_python_failure
35 test.support.reap_children()
85 with test.support.captured_output("stderr") as stderr:
224 @test.support.cpython_only
273 with test.support.SuppressCrashReport():
285 test.support.get_attribute(sys, "getwindowsversion")
327 @test.support.refcount_test
365 @test.support.reap_threads
427 # Test sys._current_frames() when thread support does
[all...]
H A Dtest_sys_settrace.py3 from test import support namespace
720 with open(support.TESTFN, "wb") as fp:
722 with open(support.TESTFN, "wb") as fp:
805 self.addCleanup(support.unlink, support.TESTFN)
847 support.run_unittest(
H A Dtest_tempfile.py15 from test import support namespace
16 from test.support import script_helper
73 self._warnings_manager = support.check_warnings()
225 with support.EnvironmentVarGuard() as env:
261 with support.swap_attr(tempfile, "_candidate_tempdir_list",
270 with support.swap_attr(io, "open", raise_OSError):
282 with support.swap_attr(io, "open", bad_writer):
309 with support.swap_attr(tempfile, 'tempdir', dir):
312 support.rmtree(dir)
316 return support
[all...]
H A Dtest_time.py1 from test import support namespace
135 # Check month [1, 12] + zero support
142 # Check day of month [1, 31] + zero support
178 # Check day of the year [1, 366] + zero support
206 # because systems vary in their support for year 0.
208 with support.check_warnings():
622 @unittest.skipUnless(time._STRUCT_TM_ITEMS == 11, "needs tm_zone support")
657 @unittest.skipUnless(time._STRUCT_TM_ITEMS == 11, "needs tm_zone support")
664 @unittest.skipUnless(time._STRUCT_TM_ITEMS == 11, "needs tm_zone support")
H A Dtest_traceback.py9 from test import support namespace
10 from test.support import TESTFN, Error, captured_output, unlink, cpython_only
11 from test.support.script_helper import assert_python_ok
177 @support.requires_type_collecting
672 with support.swap_attr(sys, 'tracebacklimit', 1000):
699 with support.swap_attr(sys, 'tracebacklimit', 1000):
728 with support.swap_attr(sys, 'tracebacklimit', 1000):
800 # Since tuple.__eq__ doesn't support FrameSummary, the equality
H A Dtest_urllib.py11 from test import support namespace
53 with support.check_warnings(
139 f = open(support.TESTFN, 'wb')
144 self.pathname = support.TESTFN
150 os.remove(support.TESTFN)
213 self.env = support.EnvironmentVarGuard()
467 with support.check_warnings(('',DeprecationWarning)):
473 with support.check_warnings(('', DeprecationWarning)):
566 self.registerFileForCleanUp(support.TESTFN)
569 FILE = open(support
[all...]
H A Dtest_xmlrpc.py16 from test import support namespace
306 self.assertFalse(has_ssl, "xmlrpc client's error with SSL support")
336 server = http.server.HTTPServer((support.HOST, 0), RequestHandler)
786 # the SimpleXMLRPCServer doesn't support signatures, but
1195 """A variation on support.captured_stdout() which gives a text stream
1214 with support.EnvironmentVarGuard() as env:
1246 with support.EnvironmentVarGuard() as env, \
1248 support.captured_stdin() as data_in:
1307 @support.reap_threads
1309 support
[all...]
/external/python/cpython3/Lib/test/test_import/
H A D__init__.py20 import test.support namespace
21 from test.support import (
26 from test.support import script_helper
202 import test.support namespace
204 self.assertTrue(hasattr(test.support, "__file__"))
207 import test.support as y
208 self.assertIs(y, test.support, y.__name__)
818 test.support.rmtree(self.tagged)
819 test.support.rmtree(self.package_name)
825 self.addCleanup(test.support
[all...]
/external/python/cpython3/Lib/test/test_importlib/
H A Dtest_abc.py7 from test import support namespace
34 # Because test.support.import_fresh_module() creates a new
523 support.unload(self.module_name)
524 self.addCleanup(support.unload, self.module_name)
H A Dtest_util.py11 from test import support namespace
566 with support.swap_attr(sys.implementation, 'cache_tag', None):
697 with support.swap_attr(sys.implementation, 'cache_tag', None):
/external/python/cpython3/Lib/test/test_warnings/
H A D__init__.py9 from test import support namespace
10 from test.support.script_helper import assert_python_ok, assert_python_failure
16 py_warnings = support.import_fresh_module('warnings', blocked=['_warnings'])
17 c_warnings = support.import_fresh_module('warnings', fresh=['_warnings'])
110 with support.captured_stderr() as stderr:
410 support.unload('test.test_warnings.data.import_warning')
576 # test.support.import_fresh_module utility function
585 # test.support.import_fresh_module utility function
720 with support.captured_output('stderr') as stream:
731 with support
[all...]
/external/python/cpython3/Lib/unittest/test/
H A Dtest_case.py13 from test import support namespace
17 from unittest.test.support import (
21 from test.support import captured_stderr
297 # that does not support startTestRun and stopTestRun.
1784 @support.cpython_only
1788 with support.disable_gc():
/external/owasp/sanitizer/tools/findbugs/lib/
H A Djaxen-1.1.6.jar ... expr.XPathExpr xpath private org.jaxen.ContextSupport support private org.jaxen.Navigator navigator protected void " href ...
/external/guice/extensions/persist/lib/
H A Djaxen-1.1-beta-7.jar ... expr.XPathExpr xpath private org.jaxen.ContextSupport support private org.jaxen.Navigator navigator protected void " href ...
/external/ImageMagick/MagickCore/
H A Daccelerate.c4015 support; local
4048 support=scale*GetResizeFilterSupport(resizeFilter);
4049 if (support < 0.5)
4055 support=(MagickRealType) 0.5;
4076 cacheRangeStart=(int) (((0 + 0.5)/xFactor+MagickEpsilon)-support+0.5);
4078 MagickEpsilon)+support+0.5);
4197 support; local
4230 support=scale*GetResizeFilterSupport(resizeFilter);
4231 if (support < 0.5)
4237 support
[all...]

Completed in 6307 milliseconds

<<11121314151617181920>>