I ran this from command line. Should I run it a different way?
emacs -batch -l ert -l py-ert-tests-1.el -f ert-run-tests-batch-and-exit
On 02/26/2015 11:00 AM, Andreas Roehler wrote: > 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 >
I ran this from command line. Should I run it a different way?
emacs -batch -l ert -l py-ert-tests-1.el -f ert-run- tests-batch- and-exit
On 02/26/2015 11:00 AM, Andreas Roehler wrote: socket- modul-completio n-lp-1284141 backtrace: or-complete) buffer (set-buffer temp-buffer) (unwind-protect (progn new-buffer " *temp*"))) (save-current-b new-buffer " *temp*"))) (sa "\306\307! q\210\ 310\216\ 311 \312\216\ 313\314\ 315\316\ 3 test-internal( [cl-struct- ert--test- execution- info [cl-struc "\306\307! \211\211 r\310\311! q\210\312 d\313\223)L\210)\3 test([cl- struct- ert-test py-ert- socket- modul-completio n-lp-1 or-rerun- test([cl- struct- ert--stats t [[cl-struct- ert-test p tests-batch( nil) tests-batch- and-exit( ) line-1( ("-l" "ert" "-l" "py-ert-tests-1.el" "-f" "ert-run-te socket- modul-completio n-lp-1284141 condition: or-complete) socket- modul-completio n-lp-1284141 indent- offset, using defaults: 4 indent- offset is from
> On 26.02.2015 19:43, Justin wrote:
>> Ok, I think I got it this time:
>>
>> Test py-ert-
>> (py-indent-
>> (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-
>> (let ((temp-buffer (generate-
>> (lambda nil (let ((temp-buffer (generate-
>> byte-code(
>> ert--run-
>> byte-code(
>> ert-run-
>> ert-run-
>> ert-run-tests(t #[(event-type &rest event-args) "\30\307\"\203G \
>> ert-run-
>> ert-run-
>> command-
>> command-line()
>> normal-top-level()
>> Test py-ert-
>> (void-function py-indent-
>> FAILED 27/29 py-ert-
>> Can't guess python-
> Seems python-mode.el wasn't loaded. python-
> python.el
>