X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/c6c8ef76a4d991cd8a7a3b00a816b6db72ecdf04..c0a8e4224360a6917dcb5d889b08d5fdcfaf7c2d:/tests/data/comments.py diff --git a/tests/data/comments.py b/tests/data/comments.py index 4ae3d2c..c34daaf 100644 --- a/tests/data/comments.py +++ b/tests/data/comments.py @@ -22,6 +22,11 @@ except ImportError: # Some comment before a function. +y = 1 +( + # some strings + y # type: ignore +) def function(default=None): @@ -75,6 +80,8 @@ class Foo: @fast(really=True) async def wat(): + # This comment, for some reason \ + # contains a trailing backslash. async with X.open_async() as x: # Some more comments result = await x.method1() # Comment after ending a block.