From 364214a67877994dca45b2a2a72d8976f09a236e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 16 Aug 2023 02:36:45 +0000 Subject: automatic import of python-opentracing --- opentracing.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 opentracing.patch (limited to 'opentracing.patch') diff --git a/opentracing.patch b/opentracing.patch new file mode 100644 index 0000000..60edde6 --- /dev/null +++ b/opentracing.patch @@ -0,0 +1,30 @@ +diff --git a/tests/scope_managers/test_asyncio.py b/tests/scope_managers/test_asyncio.py +index 14079c4..450260b 100644 +--- a/tests/scope_managers/test_asyncio.py ++++ b/tests/scope_managers/test_asyncio.py +@@ -35,8 +35,8 @@ class AsyncioCompabilityCheck(TestCase, ScopeCompatibilityCheckMixin): + return AsyncioScopeManager() + + def run_test(self, test_fn): +- @asyncio.coroutine +- def async_test_fn(): ++ ++ async def async_test_fn(): + test_fn() + asyncio.get_event_loop().run_until_complete(async_test_fn()) + +diff --git a/tests/scope_managers/test_contextvars.py b/tests/scope_managers/test_contextvars.py +index dd1820f..be7587f 100644 +--- a/tests/scope_managers/test_contextvars.py ++++ b/tests/scope_managers/test_contextvars.py +@@ -36,8 +36,8 @@ class AsyncioContextVarsCompabilityCheck( + return ContextVarsScopeManager() + + def run_test(self, test_fn): +- @asyncio.coroutine +- def async_test_fn(): ++ ++ async def async_test_fn(): + test_fn() + asyncio.get_event_loop().run_until_complete(async_test_fn()) + -- cgit v1.2.3