From 3ded9f2ea5c4412fe5e45b897e2bfb1ba525919a Mon Sep 17 00:00:00 2001 From: Vasista Vovveti Date: Tue, 18 Jul 2023 19:09:12 +0530 Subject: [PATCH] Fix type hint for test_frozenbidicts_hashable --- tests/property_tests/test_properties.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/property_tests/test_properties.py b/tests/property_tests/test_properties.py index 4f3543f..db8be47 100644 --- a/tests/property_tests/test_properties.py +++ b/tests/property_tests/test_properties.py @@ -25,7 +25,7 @@ from hypothesis import assume, example, given from bidict import ( DROP_NEW, DROP_OLD, RAISE, OnDup, BidirectionalMapping, MutableBidirectionalMapping, BidictBase, MutableBidict, OrderedBidictBase, - OrderedBidict, bidict, namedbidict, + OrderedBidict, bidict, namedbidict, frozenbidict, inverted, DuplicationError, KeyDuplicationError, ValueDuplicationError, KeyAndValueDuplicationError, ) @@ -351,7 +351,7 @@ def test_bidict_reversed(rb_and_rd: t.Any) -> None: @given(st.FROZEN_BIDICTS) -def test_frozenbidicts_hashable(bi: Bi) -> None: +def test_frozenbidicts_hashable(bi: frozenbidict[t.Any, t.Any]) -> None: """Frozen bidicts can be hashed and inserted into sets and mappings.""" assert hash(bi) assert {bi}