~a-roehler/python-mode/components-python-mode

« back to all changes in this revision

Viewing changes to test/py-bug-numbered-tests.el

  • Committer: Andreas Röhler
  • Date: 2013-09-24 12:17:22 UTC
  • Revision ID: andreas.roehler@online.de-20130924121722-z5h35y1wcxais1ve
ipython-complete, use py-ipython-completions

Don't hard-code completion-buffer name here


Show diffs side-by-side

added added

removed removed

Lines of Context:
2906
2906
    (write-file testfile2)
2907
2907
    (goto-char 107)
2908
2908
    (unwind-protect
2909
 
        (py-python-script-complete)
 
2909
        (py-shell-complete)
2910
2910
      (beginning-of-line))
2911
2911
    (when (file-readable-p testfile1) (delete-file testfile1))
2912
2912
    (when (file-readable-p testfile2) (delete-file testfile2)))
2931
2931
 
2932
2932
(defun no-completion-at-all-lp:1001328-base ()
2933
2933
  (goto-char 40)
2934
 
  (py-python-script-complete)
 
2934
  (py-python-shell-complete)
2935
2935
  (beginning-of-line)
2936
2936
  (sit-for 0.1)
2937
2937
  (assert (looking-at "basdklfjasdf") nil "no-completion-at-all-lp:1001328-test failed"))
2948
2948
 
2949
2949
(defun not-that-useful-completion-lp:1003580-base ()
2950
2950
  (goto-char 86)
2951
 
  ;; (py-python-script-complete)
2952
2951
  (py-shell-complete nil t)
2953
2952
  (assert (string-match  "^numpy." (car py-shell-complete-debug)) nil "not-that-useful-completion-lp:1003580-test failed"))
2954
2953
 
5411
5410
 
5412
5411
\"\"\"Some docstring.\"\"\"
5413
5412
 
5414
 
__version__ = \"$Revision: 1.61 $\"
 
5413
__version__ = \"$Revision: 1.63 $\"
5415
5414
 
5416
5415
"))
5417
5416
  (py-bug-tests-intern 'python-mode-very-slow-lp-1107037-base arg teststring)))