summaryrefslogtreecommitdiff
path: root/test/automated/python-tests.el
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-07-12 18:44:13 -0600
committerTom Tromey <tromey@redhat.com>2013-07-12 18:44:13 -0600
commitb34a529f177a6ea32da5cb1254f91bf9d71838db (patch)
tree477131abc15d3107b30b635223d87a22550b480b /test/automated/python-tests.el
parente6f63071a3f7721f55220514b6d9a8ee8c1232d8 (diff)
parent5e301d7651c0691bb2bc7f3fbe711fdbe26ac471 (diff)
downloademacs-b34a529f177a6ea32da5cb1254f91bf9d71838db.tar.gz
emacs-b34a529f177a6ea32da5cb1254f91bf9d71838db.tar.bz2
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 @@
;;; Code:
+(require 'ert)
(require 'python)
(defmacro python-tests-with-temp-buffer (contents &rest body)
@@ -463,10 +464,10 @@ Class foo(object):
"
(python-tests-look-at "3)")
(forward-line 1)
- (= (python-indent-calculate-indentation) 12)
+ (should (= (python-indent-calculate-indentation) 8))
(python-tests-look-at "pass")
(forward-line 1)
- (= (python-indent-calculate-indentation) 8)))
+ (should (= (python-indent-calculate-indentation) 8))))
;;; Navigation