diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-20 01:44:38 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-20 01:44:38 +0000 |
| commit | a3be64552ce9fb6471744889161baee97af4ef4d (patch) | |
| tree | d61ab81fec4a79765bf9104c9a28bda51c7d74e9 /dev-python/aws-xray-sdk-python/files | |
| parent | c3e380abeb6a8b6f648df61aab556a3cefa167b5 (diff) | |
| download | baldeagleos-repo-a3be64552ce9fb6471744889161baee97af4ef4d.tar.gz baldeagleos-repo-a3be64552ce9fb6471744889161baee97af4ef4d.tar.xz baldeagleos-repo-a3be64552ce9fb6471744889161baee97af4ef4d.zip | |
Adding metadata
Diffstat (limited to 'dev-python/aws-xray-sdk-python/files')
| -rw-r--r-- | dev-python/aws-xray-sdk-python/files/aws-xray-sdk-python-2.8.0-fix-py3.10-loops.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/aws-xray-sdk-python/files/aws-xray-sdk-python-2.8.0-fix-py3.10-loops.patch b/dev-python/aws-xray-sdk-python/files/aws-xray-sdk-python-2.8.0-fix-py3.10-loops.patch new file mode 100644 index 000000000000..cde91a8d0cda --- /dev/null +++ b/dev-python/aws-xray-sdk-python/files/aws-xray-sdk-python-2.8.0-fix-py3.10-loops.patch @@ -0,0 +1,36 @@ +diff --git a/tests/ext/aiohttp/test_middleware.py b/tests/ext/aiohttp/test_middleware.py +index c8b2333..4f8cac6 100644 +--- a/tests/ext/aiohttp/test_middleware.py ++++ b/tests/ext/aiohttp/test_middleware.py +@@ -279,8 +279,7 @@ async def test_concurrent(test_client, loop, recorder): + + await asyncio.wait([get_delay(), get_delay(), get_delay(), + get_delay(), get_delay(), get_delay(), +- get_delay(), get_delay(), get_delay()], +- loop=loop) ++ get_delay(), get_delay(), get_delay()]) + + # Ensure all ID's are different + ids = [item.id for item in recorder.emitter.local] +diff --git a/tests/test_async_local_storage.py b/tests/test_async_local_storage.py +index b43cc0e..4b13ffd 100644 +--- a/tests/test_async_local_storage.py ++++ b/tests/test_async_local_storage.py +@@ -19,7 +19,7 @@ def test_localstorage_isolation(loop): + random_int = random.random() + local_storage.randint = random_int + +- await asyncio.sleep(0.0, loop=loop) ++ await asyncio.sleep(0.0) + + current_random_int = local_storage.randint + assert random_int == current_random_int +@@ -30,7 +30,7 @@ def test_localstorage_isolation(loop): + + # Run loads of concurrent tasks + results = loop.run_until_complete( +- asyncio.wait([_test() for _ in range(0, 100)], loop=loop) ++ asyncio.wait([_test() for _ in range(0, 100)]) + ) + results = [item.result() for item in results[0]] + |
