diff options
Diffstat (limited to 'Lib/test')
| -rw-r--r-- | Lib/test/test_coroutines.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_coroutines.py b/Lib/test/test_coroutines.py index 670852d..e3a3304 100644 --- a/Lib/test/test_coroutines.py +++ b/Lib/test/test_coroutines.py @@ -1006,10 +1006,10 @@ class SysSetCoroWrapperTest(unittest.TestCase):          sys.set_coroutine_wrapper(wrapper)          try: -            with self.assertRaisesRegex( +            with silence_coro_gc(), self.assertRaisesRegex(                  RuntimeError,                  "coroutine wrapper.*\.wrapper at 0x.*attempted to " -                "recursively wrap <coroutine.*\.wrap"): +                "recursively wrap .* wrap .*"):                  foo()          finally:  | 
