Skip to content

Commit a841103

Browse files
committed
Be more specific here, these are floats
1 parent aeaf2d6 commit a841103

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

trio/_tests/check_type_completeness.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def run_pyright(platform: str) -> subprocess.CompletedProcess[bytes]:
3636

3737
def check_less_than(
3838
key: str,
39-
current_dict: Mapping[str, object],
40-
last_dict: Mapping[str, object],
39+
current_dict: Mapping[str, float],
40+
last_dict: Mapping[str, float],
4141
/,
4242
invert: bool = False,
4343
) -> None:
@@ -64,7 +64,7 @@ def check_less_than(
6464
)
6565

6666

67-
def check_zero(key: str, current_dict: Mapping[str, object]) -> None:
67+
def check_zero(key: str, current_dict: Mapping[str, float]) -> None:
6868
global failed
6969
if current_dict[key] != 0:
7070
failed = True

0 commit comments

Comments
 (0)