Home | History | Annotate | Download | only in test

Lines Matching refs:set_ctx

2232             set_ctx = getcontext()
2235 self.assertIsNot(orig_ctx, set_ctx, 'did not copy the context')
2236 self.assertIs(set_ctx, enter_ctx, '__enter__ returned wrong context')
2243 set_ctx = getcontext()
2246 self.assertEqual(set_ctx.prec, new_ctx.prec, 'did not set correct context')
2247 self.assertIsNot(new_ctx, set_ctx, 'did not copy the context')
2248 self.assertIs(set_ctx, enter_ctx, '__enter__ returned wrong context')