]> git.madduck.net Git - etc/vim.git/blobdiff - tests/data/function.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

GitHub action (#1421)
[etc/vim.git] / tests / data / function.py
index 9e2e72f3f8b62a0a9d1052bd049525d12d4189ce..51234a1e9b406c9d6bd576bf227e9bbd54f027ce 100644 (file)
@@ -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""):
 
 
 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
 
 
     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,
     return (
         yield from A(
             very_long_argument_name1=very_long_value_for_the_argument,