Lines Matching refs:test_item
151 def decorator(test_item):
152 if not isinstance(test_item, type):
153 @functools.wraps(test_item)
156 test_item = skip_wrapper
158 test_item.__unittest_skip__ = True
159 test_item.__unittest_skip_why__ = reason
160 return test_item
162 test_item = reason
164 return decorator(test_item)
183 def expectedFailure(test_item):
184 test_item.__unittest_expecting_failure__ = True
185 return test_item