Skip to content

Commit

Permalink
Add test to DictFilter, bringing coverage to 100%.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 28, 2023
1 parent 147d39f commit 290610d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jaraco/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ class DictFilter(collections.abc.Mapping):
True
>>> set(filtered.items()) == {('a', 1), ('c', 3)}
True
>>> len(filtered)
2
One can also filter by a regular expression pattern
Expand Down

0 comments on commit 290610d

Please sign in to comment.