Skip to content

Commit

Permalink
mark 2 tests with init_var_type_support
Browse files Browse the repository at this point in the history
  • Loading branch information
idanmiara committed Nov 29, 2022
1 parent 9baac9d commit 04a6e4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/core/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
UnexpectedDataError,
StrictUnionMatchError,
)
from tests.common import init_var_type_support


class TypeHooksMapping(MutableMapping):
Expand Down Expand Up @@ -198,6 +199,7 @@ class X:
assert result == X(c=["test"])


@init_var_type_support
def test_from_dict_with_type_hooks_and_init_vars():
@dataclass
class X:
Expand Down
1 change: 1 addition & 0 deletions tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ def test_is_set_union():
assert not is_set(Union[int, float])


@init_var_type_support
def test_get_type_hint_for_init_var():
@dataclass
class X:
Expand Down

0 comments on commit 04a6e4c

Please sign in to comment.