def _get_flaky_annotation(case):
 method = case._get_test_method()
 return getattr(method, _FLAKY_ATTRIBUTE, None)

def _get_flaky_annotation ( case ) : method = case . _get_test_method ( ) return getattr ( method , _FLAKY_ATTRIBUTE , None )
get the flaky decoration detail from case .