Home
last modified time | relevance | path

Searched refs:should_raise (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_threading.py386 def __init__(self, should_raise): argument
389 self.should_raise = should_raise
396 if self.should_raise:
399 cyclic_object = RunSelfFunction(should_raise=False)
407 raising_cyclic_object = RunSelfFunction(should_raise=True)
/external/python/cpython3/Lib/test/
Dtest_threading.py377 def __init__(self, should_raise): argument
380 self.should_raise = should_raise
387 if self.should_raise:
390 cyclic_object = RunSelfFunction(should_raise=False)
398 raising_cyclic_object = RunSelfFunction(should_raise=True)