Update black to 22.1.0 (#65788)
This commit is contained in:
parent
58409d0895
commit
fa09cf663e
42 changed files with 204 additions and 255 deletions
|
@ -25,10 +25,7 @@ def test_substitute():
|
|||
with pytest.raises(UndefinedSubstitution):
|
||||
substitute(Input("hello"), {})
|
||||
|
||||
assert (
|
||||
substitute(
|
||||
{"info": [1, Input("hello"), 2, Input("world")]},
|
||||
{"hello": 5, "world": 10},
|
||||
)
|
||||
== {"info": [1, 5, 2, 10]}
|
||||
)
|
||||
assert substitute(
|
||||
{"info": [1, Input("hello"), 2, Input("world")]},
|
||||
{"hello": 5, "world": 10},
|
||||
) == {"info": [1, 5, 2, 10]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue