$ ./python -m test -vuall test_asyncio
...
======================================================================
FAIL: test_run_keeps_context (test.test_asyncio.test_runners.RunnerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/serhiy/py/cpython/Lib/test/test_asyncio/test_runners.py", line 299, in test_run_keeps_context
self.assertEqual({cvar: 2}, dict(runner.run(get_context())))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: {<Con[47 chars]0>: 2} != {<Con[47 chars]0>: 2, <ContextVar name='decimal_context' at 0[164 chars]ow])}
- {<ContextVar name='cvar' default=-1 at 0x7f729c70e740>: 2}
? ^
+ {<ContextVar name='cvar' default=-1 at 0x7f729c70e740>: 2,
? ^
+ <ContextVar name='decimal_context' at 0x7f729d60e7b0>: Context(prec=28, rounding=ROUND_HALF_EVEN, Emin=-999999, Emax=999999, capitals=1, clamp=0, flags=[], traps=[InvalidOperation, DivisionByZero, Overflow])}
----------------------------------------------------------------------
When run the test separately it passes successfully. |