Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
erivlis committed Aug 3, 2024
1 parent f20e12a commit da2c1af
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/mappingtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from collections.abc import Callable, Generator, Iterable, Mapping
from enum import Enum, auto
from itertools import chain
from typing import Any, NamedTuple, TypeVar
from typing import Any, TypeVar

K = TypeVar('K')
KT = TypeVar('KT')
Expand Down
1 change: 0 additions & 1 deletion tests/test_mapping_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def test_adding_key_value_pairs_in_first_mode():

# Initialization with invalid mode
def test_initialization_with_invalid_mode():
from mappingtools import MappingCollector
# Arrange & Act & Assert
with pytest.raises(ValueError):
MappingCollector("INVALID_MODE")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_stream_dict_records.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ def test_large_dictionaries_performance():

# Act & Assert (no assertion needed for performance, just ensure it runs)
for _ in stream_dict_records(input_dict):
pass
assert _ is not None

0 comments on commit da2c1af

Please sign in to comment.