From fa9a53d0f7dfcda1e1143b5407b2ff69266b10bf Mon Sep 17 00:00:00 2001 From: a5r0n Date: Thu, 1 Feb 2024 04:09:56 +0200 Subject: [PATCH] should be bitwise_or Signed-off-by: a5r0n --- tests/test_multidict.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test_multidict.py b/tests/test_multidict.py index b0a2008a..99579c24 100644 --- a/tests/test_multidict.py +++ b/tests/test_multidict.py @@ -415,7 +415,9 @@ def test_or2(self, cls: Type[MutableMultiMapping[str]]) -> None: assert {"key", "key2"} == {"key2"} | d.keys() - def test_or_not_implemented(self, cls: Type[MutableMultiMapping[str]]) -> None: + def test_bitwise_or_not_implemented( + self, cls: Type[MutableMultiMapping[str]] + ) -> None: d = cls([("key", "value1")]) sentinel_operation_result = object() @@ -427,7 +429,9 @@ def __ror__(self, other): assert d.keys() | RightOperand() is sentinel_operation_result - def test_or_iterable_not_set(self, cls: Type[MutableMultiMapping[str]]) -> None: + def test_bitwise_or_iterable_not_set( + self, cls: Type[MutableMultiMapping[str]] + ) -> None: d = cls([("key", "value1")]) assert {"key", "key2"} == d.keys() | ["key2"]