Comment 10 for bug 1425268

Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 1425268] Re: [Tab] complete in Ipython after update

On 26.02.2015 19:43, Justin wrote:
> Ok, I think I got it this time:
>
> Test py-ert-socket-modul-completion-lp-1284141 backtrace:
> (py-indent-or-complete)
> (let ((py-debug-p t) (py-shell-name "python") oldbuf) (if py-debug-p
> (let (hs-minor-mode) (python-mode) (insert "import socket\nsocket.")
> (progn (let (hs-minor-mode) (python-mode) (insert "import socket\nso
> (unwind-protect (progn (let (hs-minor-mode) (python-mode) (insert "i
> (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
> (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-b
> (lambda nil (let ((temp-buffer (generate-new-buffer " *temp*"))) (sa
> byte-code("\306\307!q\210\310\216\311 \312\216\313\314\315\316\3
> ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
> byte-code("\306\307!\211\211r\310\311!q\210\312 d\313\223)L\210)\3
> ert-run-test([cl-struct-ert-test py-ert-socket-modul-completion-lp-1
> ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test p
> ert-run-tests(t #[(event-type &rest event-args) "\30\307\"\203G \
> ert-run-tests-batch(nil)
> ert-run-tests-batch-and-exit()
> command-line-1(("-l" "ert" "-l" "py-ert-tests-1.el" "-f" "ert-run-te
> command-line()
> normal-top-level()
> Test py-ert-socket-modul-completion-lp-1284141 condition:
> (void-function py-indent-or-complete)
> FAILED 27/29 py-ert-socket-modul-completion-lp-1284141
> Can't guess python-indent-offset, using defaults: 4

Seems python-mode.el wasn't loaded. python-indent-offset is from python.el