def step_impl(context): assert_that(RbContext.get_instance(), is_(none()))
def step_impl(context): context.rb_context = None context.prev_rb_context = None RbContext.finalize()
def step_impl(context): assert_that(RbContext.get_instance(), is_(equal_to(context.rb_context)))
def step_impl(context): rb_context = RbContext() assert_that(rb_context, is_(equal_to(context.rb_context)))
def step_impl(context): RbContext.finalize()
def step_impl(context): context.prev_rb_context = context.rb_context context.rb_context = RbContext()
def step_impl(context): context.rb_context = RbContext()