Skip to content

Commit

Permalink
Be more specific here, these are floats
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSpen210 committed Aug 27, 2023
1 parent aeaf2d6 commit a841103
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions trio/_tests/check_type_completeness.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def run_pyright(platform: str) -> subprocess.CompletedProcess[bytes]:

def check_less_than(
key: str,
current_dict: Mapping[str, object],
last_dict: Mapping[str, object],
current_dict: Mapping[str, float],
last_dict: Mapping[str, float],
/,
invert: bool = False,
) -> None:
Expand All @@ -64,7 +64,7 @@ def check_less_than(
)


def check_zero(key: str, current_dict: Mapping[str, object]) -> None:
def check_zero(key: str, current_dict: Mapping[str, float]) -> None:
global failed
if current_dict[key] != 0:
failed = True
Expand Down

0 comments on commit a841103

Please sign in to comment.