]> code.delx.au - gnu-emacs/blobdiff - test/automated/python-tests.el
Merge branch 'master' into xwidget
[gnu-emacs] / test / automated / python-tests.el
index 90fa79ee96619c1898886ece5b5bc193decd2d46..e989ccb6792f26c3eaa8620c5b4fe7275c844602 100644 (file)
@@ -1,6 +1,6 @@
 ;;; python-tests.el --- Test suite for python.el
 
-;; Copyright (C) 2013-2014 Free Software Foundation, Inc.
+;; Copyright (C) 2013-2015 Free Software Foundation, Inc.
 
 ;; This file is part of GNU Emacs.
 
@@ -2584,6 +2584,13 @@ class Foo(models.Model):
 \f
 ;;; Shell completion
 
+(ert-deftest python-shell-completion-native-interpreter-disabled-p-1 ()
+  (let* ((python-shell-completion-native-disabled-interpreters (list "pypy"))
+         (python-shell-interpreter "/some/path/to/bin/pypy"))
+    (should (python-shell-completion-native-interpreter-disabled-p))))
+
+
+
 \f
 ;;; PDB Track integration