Searched refs:set_threshold (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython2/Lib/distutils/ |
D | log.py | 59 def set_threshold(level): function 67 set_threshold(WARN) 69 set_threshold(INFO) 71 set_threshold(DEBUG)
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_config.py | 10 from distutils.log import set_threshold 72 self.old_threshold = set_threshold(WARN) 76 set_threshold(self.old_threshold)
|
D | support.py | 28 self.threshold = log.set_threshold(log.FATAL) 37 log.set_threshold(self.threshold)
|
D | test_core.py | 40 self.addCleanup(log.set_threshold, log._global_log.threshold)
|
D | test_dist.py | 401 self.addCleanup(log.set_threshold, log._global_log.threshold)
|
/external/python/cpython2/Lib/test/ |
D | test_gc.py | 219 gc.set_threshold(1) 228 gc.set_threshold(*thresholds) 234 gc.set_threshold(1) 243 gc.set_threshold(*thresholds)
|
D | test_modulefinder.py | 295 distutils.log.set_threshold(distutils.log.WARN)
|
D | test_weakref.py | 669 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)
|
D | test_weakset.py | 429 self.addCleanup(gc.set_threshold, *gc.get_threshold()) 433 gc.set_threshold(th, th, th)
|
D | regrtest.py | 314 gc.set_threshold(int(a))
|
D | test_multiprocessing.py | 1961 self.addCleanup(gc.set_threshold, *thresholds) 1962 gc.set_threshold(10)
|
/external/python/cpython2/Doc/library/ |
D | gc.rst | 77 .. function:: set_threshold(threshold0[, threshold1[, threshold2]])
|