X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/9854d4b375ef84d651892785165a6c7b0e9f391b..e6cd10e7615f4df537e2eaefcf3904a4feecad1f:/tests/data/function2.py diff --git a/tests/data/function2.py b/tests/data/function2.py index f57a3f5..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, )