Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Skip order-sensitive doctest for select_keys.
  • Loading branch information
John Jacobsen committed Apr 3, 2018
commit aa9a2a7f16c6077e31251724e6226aa3ed811d5f
2 changes: 1 addition & 1 deletion toolz/dicttoolz.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def select_keys(d, keys, factory=dict):
dictionary.

>>> d = {'a': 1, 'b': 2, 'c': 3}
>>> select_keys(d, ['a', 'b', 'd'])
>>> select_keys(d, ['a', 'b', 'd']) # doctest: +SKIP
{'a': 1, 'b': 2}
>>> select_keys(d, ['d'])
{}
Expand Down