Skip to content

Commit

Permalink
tests: fix python test utility function for older python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nmammeri committed Nov 15, 2024
1 parent 580e5e4 commit dfb991e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/extractous-python/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def read_file_to_bytearray(file_path: str):
return file_content


def is_expected_metadata_contained(expected: dict[str, list[str]], current: dict[str, list[str]]) -> bool:
def is_expected_metadata_contained(expected: dict, current: dict) -> bool:
"""
Check if all keys in `expected` are present in `current` and have identical values.
"""
Expand Down

0 comments on commit dfb991e

Please sign in to comment.