]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't skip test semantic-utest-Python
authorStefan Kangas <stefankangas@gmail.com>
Tue, 28 Apr 2020 12:12:25 +0000 (14:12 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Tue, 28 Apr 2020 12:12:25 +0000 (14:12 +0200)
* test/lisp/cedet/semantic-utest.el (semantic-utest-Python):
Ensure test is not skipped.

test/lisp/cedet/semantic-utest.el

index 7e3365579488ec2637cbb931a12becf5fc035f19..1a7a8655ba9d4f377ab837d2e0e5a40e50a4b6d4 100644 (file)
@@ -577,7 +577,7 @@ INSERTME is the text to be inserted after the deletion."
       )))
 
 (ert-deftest semantic-utest-Python()
-  (skip-unless (featurep 'python-mode))
+  (skip-unless (fboundp 'python-mode))
   (let ((python-indent-guess-indent-offset nil))
     (semantic-utest-generic "Python" (semantic-utest-fname "pytest.py") semantic-utest-Python-buffer-contents  semantic-utest-Python-name-contents   '("fun2") "#1" "#deleted line")
     ))