X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/f71db23824a25300618dd0625085ade8d2b3a7a8..f2ea461e9e9fa5c47bb61fd72d512c748928badc:/tests/data/function2.py?ds=sidebyside diff --git a/tests/data/function2.py b/tests/data/function2.py index 0c9da12..cfc259e 100644 --- a/tests/data/function2.py +++ b/tests/data/function2.py @@ -7,9 +7,10 @@ def f( result = ( CliRunner().invoke(black.main, [str(src1), str(src2), "--diff", "--check"]) ) + limited.append(-limited.pop()) # negate top return A( very_long_argument_name1=very_long_value_for_the_argument, - very_long_argument_name2=very_long_value_for_the_argument, + very_long_argument_name2=-very.long.value.for_the_argument, **kwargs, ) def g(): @@ -24,15 +25,19 @@ def h(): # output -def f(a, **kwargs) -> A: +def f( + a, + **kwargs, +) -> A: with cache_dir(): if something: result = CliRunner().invoke( black.main, [str(src1), str(src2), "--diff", "--check"] ) + limited.append(-limited.pop()) # negate top return A( very_long_argument_name1=very_long_value_for_the_argument, - very_long_argument_name2=very_long_value_for_the_argument, + very_long_argument_name2=-very.long.value.for_the_argument, **kwargs, )