diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b91968bd..281d77d9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 diff --git a/tests/test_client.py b/tests/test_client.py index 76b9dde9..8a2ed504 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -1,4 +1,4 @@ -import asyncio +import inspect import time import uuid from concurrent.futures import ThreadPoolExecutor @@ -68,7 +68,7 @@ async def test_should_get_flag_value_based_on_method_type( # Given # When method = getattr(no_op_provider_client, get_method) - if asyncio.iscoroutinefunction(method): + if inspect.iscoroutinefunction(method): flag = await method(flag_key="Key", default_value=default_value) else: flag = method(flag_key="Key", default_value=default_value) @@ -126,7 +126,7 @@ async def test_should_get_flag_detail_based_on_method_type( # Given # When method = getattr(no_op_provider_client, get_method) - if asyncio.iscoroutinefunction(method): + if inspect.iscoroutinefunction(method): flag = await method(flag_key="Key", default_value=default_value) else: flag = method(flag_key="Key", default_value=default_value)