Home
last modified time | relevance | path

Searched refs:set_threshold (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Lib/distutils/
Dlog.py59 def set_threshold(level): function
67 set_threshold(WARN)
69 set_threshold(INFO)
71 set_threshold(DEBUG)
/external/python/cpython2/Lib/distutils/tests/
Dtest_config.py10 from distutils.log import set_threshold
72 self.old_threshold = set_threshold(WARN)
76 set_threshold(self.old_threshold)
Dsupport.py28 self.threshold = log.set_threshold(log.FATAL)
37 log.set_threshold(self.threshold)
Dtest_core.py40 self.addCleanup(log.set_threshold, log._global_log.threshold)
Dtest_dist.py401 self.addCleanup(log.set_threshold, log._global_log.threshold)
/external/python/cpython2/Lib/test/
Dtest_gc.py219 gc.set_threshold(1)
228 gc.set_threshold(*thresholds)
234 gc.set_threshold(1)
243 gc.set_threshold(*thresholds)
Dtest_modulefinder.py295 distutils.log.set_threshold(distutils.log.WARN)
Dtest_weakref.py669 gc.set_threshold(1, 1, 1)
690 gc.set_threshold(*thresholds)
942 self.addCleanup(gc.set_threshold, *gc.get_threshold())
946 gc.set_threshold(th, th, th)
Dtest_weakset.py429 self.addCleanup(gc.set_threshold, *gc.get_threshold())
433 gc.set_threshold(th, th, th)
Dregrtest.py314 gc.set_threshold(int(a))
Dtest_multiprocessing.py1961 self.addCleanup(gc.set_threshold, *thresholds)
1962 gc.set_threshold(10)
/external/python/cpython2/Doc/library/
Dgc.rst77 .. function:: set_threshold(threshold0[, threshold1[, threshold2]])