Skip to content

Commit 7e0b29f

Browse files
committed
ignore mypy recursivedict error
1 parent 539b1d1 commit 7e0b29f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/utils/test_config.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def test_config_lookup_order(
146146
"""
147147
Test that the configuration lookup prioritizes PYICEBERG_HOME, then home (~), then cwd.
148148
"""
149+
149150
def create_config_file(path: str, uri: Optional[str]) -> None:
150151
if uri:
151152
config_file_path = os.path.join(path, ".pyiceberg.yaml")
@@ -172,5 +173,5 @@ def create_config_file(path: str, uri: Optional[str]) -> None:
172173
# Perform the lookup and validate the result
173174
result = Config()._from_configuration_files()
174175
assert (
175-
result["catalog"]["default"]["uri"] if result else None
176+
result["catalog"]["default"]["uri"] if result else None # type: ignore
176177
) == expected_result, f"Unexpected configuration result. Expected: {expected_result}, Actual: {result}"

0 commit comments

Comments
 (0)