X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5f9eb9e4f7baa35cb87eb3f8a9fed81f1195a72e..729f2d8cafd1b8e44d7c0a6bd841453ffac01c8e:/tests/data/function.py diff --git a/tests/data/function.py b/tests/data/function.py index 9e2e72f..51234a1 100644 --- a/tests/data/function.py +++ b/tests/data/function.py @@ -144,7 +144,7 @@ def function_signature_stress_test( def spaces(a=1, b=(), c=[], d={}, e=True, f=-1, g=1 if False else 2, h="", i=r""): - offset = attr.ib(default=attr.Factory(lambda: _r.uniform(10000, 200_000))) + offset = attr.ib(default=attr.Factory(lambda: _r.uniform(10000, 200000))) assert task._cancel_stack[: len(old_stack)] == old_stack @@ -230,7 +230,7 @@ def trailing_comma(): } -def f(a, **kwargs) -> A: +def f(a, **kwargs,) -> A: return ( yield from A( very_long_argument_name1=very_long_value_for_the_argument,