-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partially code-cover
&
, |
, -
, ^
multidict operators
Specifically, this patch covers the cases of the dunder methods returning `NotImplemented` and handling non-`Set` `Iterable`s. It fully covers the `_viewbaseset_and()`, `_viewbaseset_or()`, `_viewbaseset_sub()` and `_viewbaseset_xor()` functions in the `multidict._multidict_base` module with functional tests. Ref #921 PR #936 Signed-off-by: a5r0n <a5r0n@users.noreply.github.com> Co-authored-by: a5r0n <a5r0n@users.noreply.github.com> Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
- Loading branch information
1 parent
983411b
commit 75e204c
Showing
2 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Added test coverage for the :ref:`and <python:and>`, :ref:`or | ||
<python:or>`, :py:obj:`sub <python:object.__sub__>`, and | ||
:py:obj:`xor <python:object.__xor__>` operators in the | ||
:file:`multidict/_multidict_base.py` module. It also covers | ||
:py:data:`NotImplemented` and | ||
":py:class:`~typing.Iterable`-but-not-:py:class:`~typing.Set`" | ||
cases there. | ||
|
||
-- by :user:`a5r0n` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters