]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Adjust python tests after fix for bug#39398"
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 30 Oct 2020 15:10:57 +0000 (16:10 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 30 Oct 2020 15:10:57 +0000 (16:10 +0100)
This reverts commit c6fb23873a594b6a4fc57fa107869a2e82159d07.

The code is tweaked to be more backwards-compatible.

test/lisp/progmodes/python-tests.el

index 186290593e6d101ff545324574c5f472972c081a..64626333c442c733995b125aea96199d98f52153 100644 (file)
@@ -3481,7 +3481,7 @@ def foo():
                      (point-max))
                     "if True:
 
-print ('a')
+    print ('a')
 "))))
 
 (ert-deftest python-shell-buffer-substring-11 ()
@@ -3499,7 +3499,7 @@ def foo():
                      (point-max))
                     "if True:
 
- print ('a')
   print ('a')
 "))))
 
 (ert-deftest python-shell-buffer-substring-12 ()
@@ -3518,7 +3518,7 @@ def foo():
                     "if True:
 
 
-# Whitespace
+        # Whitespace
 
     print ('a')
 "))))