aboutsummaryrefslogtreecommitdiffstats
path: root/test/automated/python-tests.el
diff options
context:
space:
mode:
authorTom Tromey2013-07-12 18:44:13 -0600
committerTom Tromey2013-07-12 18:44:13 -0600
commitb34a529f177a6ea32da5cb1254f91bf9d71838db (patch)
tree477131abc15d3107b30b635223d87a22550b480b /test/automated/python-tests.el
parente6f63071a3f7721f55220514b6d9a8ee8c1232d8 (diff)
parent5e301d7651c0691bb2bc7f3fbe711fdbe26ac471 (diff)
downloademacs-b34a529f177a6ea32da5cb1254f91bf9d71838db.tar.gz
emacs-b34a529f177a6ea32da5cb1254f91bf9d71838db.zip
Merge from trunk
Diffstat (limited to 'test/automated/python-tests.el')
-rw-r--r--test/automated/python-tests.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/automated/python-tests.el b/test/automated/python-tests.el
index 40505cc7953..1dffe9544fe 100644
--- a/test/automated/python-tests.el
+++ b/test/automated/python-tests.el
@@ -21,6 +21,7 @@
21 21
22;;; Code: 22;;; Code:
23 23
24(require 'ert)
24(require 'python) 25(require 'python)
25 26
26(defmacro python-tests-with-temp-buffer (contents &rest body) 27(defmacro python-tests-with-temp-buffer (contents &rest body)
@@ -463,10 +464,10 @@ Class foo(object):
463" 464"
464 (python-tests-look-at "3)") 465 (python-tests-look-at "3)")
465 (forward-line 1) 466 (forward-line 1)
466 (= (python-indent-calculate-indentation) 12) 467 (should (= (python-indent-calculate-indentation) 8))
467 (python-tests-look-at "pass") 468 (python-tests-look-at "pass")
468 (forward-line 1) 469 (forward-line 1)
469 (= (python-indent-calculate-indentation) 8))) 470 (should (= (python-indent-calculate-indentation) 8))))
470 471
471 472
472;;; Navigation 473;;; Navigation