Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Feb 19, 2024
1 parent f8cbf6a commit 98abd21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import json
import sys
from pathlib import Path
from typing import TYPE_CHECKING
from typing import TYPE_CHECKING, Any

import dask.array as da
import pytest
Expand Down Expand Up @@ -44,7 +44,7 @@ def test_metadata_integrity(path: str) -> None:
assert stats[key] == EXPECTED[name][key], f"{key} mismatch"


def _clear_names(*exps):
def _clear_names(*exps: Any) -> None:
for exp in exps:
for item in exp:
if item["type"] == "XYPosLoop":
Expand Down Expand Up @@ -94,7 +94,7 @@ def test_metadata_extraction(new_nd2: Path) -> None:
assert nd.closed


def test_metadata_extraction_legacy(old_nd2) -> None:
def test_metadata_extraction_legacy(old_nd2: Path) -> None:
assert ND2File.is_supported_file(old_nd2)
with ND2File(old_nd2) as nd:
assert repr(nd)
Expand Down

0 comments on commit 98abd21

Please sign in to comment.