]> git.madduck.net Git - etc/vim.git/blobdiff - tests/empty_lines.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:

Normalize string quotes (#75)
[etc/vim.git] / tests / empty_lines.py
index ec04337670dfd0b22211422d59419ac0e761fff4..d001db42f04768e6226b1fa3348afe427a924acd 100644 (file)
@@ -64,7 +64,7 @@ def g():
         return DOUBLESPACE
 
     # Another comment because more comments
         return DOUBLESPACE
 
     # Another comment because more comments
-    assert p is not None, f"INTERNAL ERROR: hand-made leaf without parent: {leaf!r}"
+    assert p is not None, f'INTERNAL ERROR: hand-made leaf without parent: {leaf!r}'
 
     prev = leaf.prev_sibling
     if not prev:
 
     prev = leaf.prev_sibling
     if not prev:
@@ -90,9 +90,9 @@ def g():
 
 
 def f():
 
 
 def f():
-    NO = ''
-    SPACE = ' '
-    DOUBLESPACE = '  '
+    NO = ""
+    SPACE = " "
+    DOUBLESPACE = "  "
 
     t = leaf.type
     p = leaf.parent  # trailing comment
 
     t = leaf.type
     p = leaf.parent  # trailing comment
@@ -139,9 +139,9 @@ def f():
 
 
 def g():
 
 
 def g():
-    NO = ''
-    SPACE = ' '
-    DOUBLESPACE = '  '
+    NO = ""
+    SPACE = " "
+    DOUBLESPACE = "  "
 
     t = leaf.type
     p = leaf.parent
 
     t = leaf.type
     p = leaf.parent