Skip to content

Commit

Permalink
tests: misc
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff committed Jan 1, 2024
1 parent e9719ed commit fb5efda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functionalpy/benchmark/query_1/iterators_q1.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def calculate_charge(item: Item) -> float:


def parse_input_data(
input_data: Sequence[Mapping[str, Any]]
input_data: Sequence[Mapping[str, Any]],
) -> Sequence[Item]:
parsed_data = (
Seq(input_data)
Expand Down
2 changes: 1 addition & 1 deletion functionalpy/test_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_flatten_tuple(self):
(i, i + 1) for i in range(1, 3)
)
result: Seq[int] = sequence.flatten()
assert result.to_list() == [1, 2, 3, 4]
assert result.to_list() == [1, 2, 2, 3]

def test_flatten_list(self):
test_input: list[list[int]] = [[1, 2], [3, 4]]
Expand Down

0 comments on commit fb5efda

Please sign in to comment.