diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ab77c8..82fa228 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,7 +42,7 @@ jobs: matrix: python-version: ["3.10", "3.11", "3.12", "3.13"] # There's no platform specific SDK code, but explicitly check Windows anyway - os: [ubuntu-22.04, windows-2019] + os: [ubuntu-22.04, windows-2022] # Check https://github.com/actions/action-versions/tree/main/config/actions # for latest versions if the standard actions start emitting warnings diff --git a/tests/test_inference.py b/tests/test_inference.py index f6c6012..6e0646f 100644 --- a/tests/test_inference.py +++ b/tests/test_inference.py @@ -245,7 +245,7 @@ def _append_fragment(f: LlmPredictionFragment, round_index: int) -> None: assert cloned_chat._messages == chat._messages -def divide(numerator: float, denominator: float) -> float | str: +def divide(numerator: float, denominator: float) -> float: """Divide the given numerator by the given denominator. Return the result.""" return numerator / denominator