Skip to content

Commit 409bea8

Browse files
fix: correct typing import in test_file_based_stream_reader.py
Co-Authored-By: Aaron <AJ> Steers <[email protected]>
1 parent aceade6 commit 409bea8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

unit_tests/sources/file_based/test_file_based_stream_reader.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
#
44

55
import logging
6+
from collections.abc import Iterable, Mapping
67
from datetime import datetime
78
from io import IOBase
8-
from typing import Any
9-
from typing import Dict, List, Optional, Set
10-
from collections.abc import Iterable, Mapping
9+
from typing import Any, Optional
1110

1211
import pytest
1312
from pydantic.v1 import AnyUrl
@@ -377,10 +376,9 @@ def test_globs_and_prefixes_from_globs(
377376
) -> None:
378377
reader = TestStreamReader()
379378
reader.config = TestSpec(**config)
380-
assert (
381-
{f.uri for f in reader.filter_files_by_globs_and_start_date(FILES, globs)}
382-
== expected_matches
383-
)
379+
assert {
380+
f.uri for f in reader.filter_files_by_globs_and_start_date(FILES, globs)
381+
} == expected_matches
384382
assert set(reader.get_prefixes_from_globs(globs)) == expected_path_prefixes
385383

386384

0 commit comments

Comments
 (0)