unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mattias Engdegård" <mattias.engdegard@gmail.com>
To: Liu Hui <liuhui1610@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, kobarity@gmail.com, 68559@debbugs.gnu.org
Subject: bug#68559: [PATCH] Improve Python shell completion
Date: Thu, 15 Feb 2024 15:43:32 +0100	[thread overview]
Message-ID: <6BAFD8BF-8F18-4D9F-9DB3-A185AEF2EBCA@gmail.com> (raw)
In-Reply-To: <CAOQTW-Np1Dj=MEsLf=bCg81Yjd_OQ+mTZGUaAmCGcU7dwcL3OQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

The recent change on master, 0b9c7148fd, causes several failures in python-tests here (macOS). Log attached.

It seems to have something to do with completion. Maybe the new code is sensitive to details of Python's command line editor? The standard Python interpreter is unlikely to use GNU readline, for example.


[-- Attachment #2: python-tests.log --]
[-- Type: application/octet-stream, Size: 48228 bytes --]

  GEN      lisp/progmodes/python-tests.log
Running 360 tests (2024-02-15 15:38:05+0100, selector `(not (or (tag :unstable) (tag :nativecomp)))')
   passed    1/360  python-auto-fill-docstring (0.001040 sec)
Fontifying  *temp*-895436...
Fontifying  *temp*-895436... (syntactically...)
Fontifying  *temp*-895436... (regexps...)
Fontifying  *temp*-895436... (regexps....)
Fontifying  *temp*-895436... (regexps.....)
Fontifying  *temp*-895436... (regexps......)
Fontifying  *temp*-895436... (regexps.......)
Fontifying  *temp*-895436... (regexps........)
Fontifying  *temp*-895436... (regexps.........)
Fontifying  *temp*-895436... (regexps..........)
Fontifying  *temp*-895436... (regexps...........)
Fontifying  *temp*-895436... (regexps............)
Fontifying  *temp*-895436... (regexps.............)
Fontifying  *temp*-895436... (regexps..............)
Fontifying  *temp*-895436... (regexps...............)
Fontifying  *temp*-895436... (regexps................)

   passed    2/360  python-bob-infloop-avoid (0.000804 sec)
Test python-completion-at-point-1 backtrace:
  json-parse-string("__PYTHON_EL_eval_file(\"/var/folders/qy/zstv16390
  python--parse-json-array("__PYTHON_EL_eval_file(\"/var/folders/qy/zs
  python-shell-completion-get-completions(#<process Python[ *temp*-713
  python-shell-completion-at-point(#<process Python[ *temp*-713815]>)
  python-completion-at-point()
  completion--capf-wrapper(python-completion-at-point all)
  run-hook-wrapped(completion--capf-wrapper python-completion-at-point
  completion-at-point()
  apply(completion-at-point nil)
  (setq value-3676 (apply fn-3674 args-3675))
  (unwind-protect (setq value-3676 (apply fn-3674 args-3675)) (setq fo
  (if (unwind-protect (setq value-3676 (apply fn-3674 args-3675)) (set
  (let (form-description-3678) (if (unwind-protect (setq value-3676 (a
  (let ((value-3676 'ert-form-evaluation-aborted-3677)) (let (form-des
  (let* ((fn-3674 #'completion-at-point) (args-3675 (condition-case er
  (let ((inhibit-message t)) (python-shell-send-buffer) (python-tests-
  (progn (run-python nil t) (insert "\nimport abc\n") (goto-char (poin
  (unwind-protect (progn (run-python nil t) (insert "\nimport abc\n") 
  (let ((python-indent-guess-indent-offset nil) (python-shell-completi
  (progn (let ((python-indent-guess-indent-offset nil) (python-shell-c
  (unwind-protect (progn (let ((python-indent-guess-indent-offset nil)
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
  (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current
  (closure (t) nil (let* ((fn-3669 #'executable-find) (args-3670 (cond
  #f(compiled-function () #<bytecode -0x3de848aaf387fce>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x3de848aaf387fce
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name python-completion-at-point-1 :documen
  ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
  ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
  ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
  ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
  eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
  command-line-1(("-L" ":../../emacs/test" "-l" "ert" "-l" "lisp/progm
  command-line()
  normal-top-level()
Test python-completion-at-point-1 condition:
    (json-parse-error "invalid token near '_'" "<string>" 1 1 1)
   FAILED    3/360  python-completion-at-point-1 (0.404730 sec) at ../../emacs/test/lisp/progmodes/python-tests.el:4903
Test python-completion-at-point-2 backtrace:
  json-parse-string("__PYTHON_EL_eval_file(\"/var/folders/qy/zstv16390
  python--parse-json-array("__PYTHON_EL_eval_file(\"/var/folders/qy/zs
  python-shell-completion-get-completions(#<process Python[ *temp*-102
  python-shell-completion-at-point(#<process Python[ *temp*-102788]>)
  python-completion-at-point()
  completion--capf-wrapper(python-completion-at-point all)
  run-hook-wrapped(completion--capf-wrapper python-completion-at-point
  completion-at-point()
  apply(completion-at-point nil)
  (setq value-3691 (apply fn-3689 args-3690))
  (unwind-protect (setq value-3691 (apply fn-3689 args-3690)) (setq fo
  (if (unwind-protect (setq value-3691 (apply fn-3689 args-3690)) (set
  (let (form-description-3693) (if (unwind-protect (setq value-3691 (a
  (let ((value-3691 'ert-form-evaluation-aborted-3692)) (let (form-des
  (let* ((fn-3689 #'completion-at-point) (args-3690 (condition-case er
  (let ((inhibit-message t)) (python-shell-send-buffer) (python-tests-
  (progn (run-python nil t) (insert "\nimport abc\n") (goto-char (poin
  (unwind-protect (progn (run-python nil t) (insert "\nimport abc\n") 
  (let ((python-indent-guess-indent-offset nil) (python-shell-completi
  (progn (let ((python-indent-guess-indent-offset nil) (python-shell-c
  (unwind-protect (progn (let ((python-indent-guess-indent-offset nil)
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
  (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current
  (closure (t) nil (let* ((fn-3684 #'executable-find) (args-3685 (cond
  #f(compiled-function () #<bytecode -0x3de848aaf387fce>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x3de848aaf387fce
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name python-completion-at-point-2 :documen
  ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
  ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
  ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
  ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
  eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
  command-line-1(("-L" ":../../emacs/test" "-l" "ert" "-l" "lisp/progm
  command-line()
  normal-top-level()
Test python-completion-at-point-2 condition:
    (json-parse-error "invalid token near '_'" "<string>" 1 1 1)
   FAILED    4/360  python-completion-at-point-2 (0.381182 sec) at ../../emacs/test/lisp/progmodes/python-tests.el:4918
Test python-completion-at-point-native-1 backtrace:
  json-parse-string("__PYTHON_EL_eval_file(\"/var/folders/qy/zstv16390
  python--parse-json-array("__PYTHON_EL_eval_file(\"/var/folders/qy/zs
  python-shell-completion-get-completions(#<process Python[ *temp*-704
  python-shell-completion-at-point(#<process Python[ *temp*-704829]>)
  python-completion-at-point()
  completion--capf-wrapper(python-completion-at-point all)
  run-hook-wrapped(completion--capf-wrapper python-completion-at-point
  completion-at-point()
  apply(completion-at-point nil)
  (setq value-3718 (apply fn-3716 args-3717))
  (unwind-protect (setq value-3718 (apply fn-3716 args-3717)) (setq fo
  (if (unwind-protect (setq value-3718 (apply fn-3716 args-3717)) (set
  (let (form-description-3720) (if (unwind-protect (setq value-3718 (a
  (let ((value-3718 'ert-form-evaluation-aborted-3719)) (let (form-des
  (let* ((fn-3716 #'completion-at-point) (args-3717 (condition-case er
  (let ((inhibit-message t)) (python-shell-completion-native-turn-on) 
  (progn (run-python nil t) (insert "\nimport abc\n") (goto-char (poin
  (unwind-protect (progn (run-python nil t) (insert "\nimport abc\n") 
  (let ((python-indent-guess-indent-offset nil) (python-shell-completi
  (progn (let ((python-indent-guess-indent-offset nil) (python-shell-c
  (unwind-protect (progn (let ((python-indent-guess-indent-offset nil)
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
  (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current
  (closure (t) nil (let* ((fn-3711 #'executable-find) (args-3712 (cond
  #f(compiled-function () #<bytecode -0x3de848aaf387fce>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x3de848aaf387fce
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name python-completion-at-point-native-1 :
  ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
  ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
  ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
  ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
  eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
  command-line-1(("-L" ":../../emacs/test" "-l" "ert" "-l" "lisp/progm
  command-line()
  normal-top-level()
Test python-completion-at-point-native-1 condition:
    (json-parse-error "invalid token near '_'" "<string>" 1 1 1)
   FAILED    5/360  python-completion-at-point-native-1 (0.407805 sec) at ../../emacs/test/lisp/progmodes/python-tests.el:4966
Test python-completion-at-point-native-2 backtrace:
  json-parse-string("__PYTHON_EL_eval_file(\"/var/folders/qy/zstv16390
  python--parse-json-array("__PYTHON_EL_eval_file(\"/var/folders/qy/zs
  python-shell-completion-get-completions(#<process Python[ *temp*-734
  python-shell-completion-at-point(#<process Python[ *temp*-734580]>)
  python-completion-at-point()
  completion--capf-wrapper(python-completion-at-point all)
  run-hook-wrapped(completion--capf-wrapper python-completion-at-point
  completion-at-point()
  apply(completion-at-point nil)
  (setq value-3733 (apply fn-3731 args-3732))
  (unwind-protect (setq value-3733 (apply fn-3731 args-3732)) (setq fo
  (if (unwind-protect (setq value-3733 (apply fn-3731 args-3732)) (set
  (let (form-description-3735) (if (unwind-protect (setq value-3733 (a
  (let ((value-3733 'ert-form-evaluation-aborted-3734)) (let (form-des
  (let* ((fn-3731 #'completion-at-point) (args-3732 (condition-case er
  (let ((inhibit-message t)) (python-shell-completion-native-turn-on) 
  (progn (run-python nil t) (insert "\nimport abc\n") (goto-char (poin
  (unwind-protect (progn (run-python nil t) (insert "\nimport abc\n") 
  (let ((python-indent-guess-indent-offset nil) (python-shell-completi
  (progn (let ((python-indent-guess-indent-offset nil) (python-shell-c
  (unwind-protect (progn (let ((python-indent-guess-indent-offset nil)
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
  (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current
  (closure (t) nil (let* ((fn-3726 #'executable-find) (args-3727 (cond
  #f(compiled-function () #<bytecode -0x3de848aaf387fce>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x3de848aaf387fce
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name python-completion-at-point-native-2 :
  ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
  ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
  ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
  ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
  eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
  command-line-1(("-L" ":../../emacs/test" "-l" "ert" "-l" "lisp/progm
  command-line()
  normal-top-level()
Test python-completion-at-point-native-2 condition:
    (json-parse-error "invalid token near '_'" "<string>" 1 1 1)
   FAILED    6/360  python-completion-at-point-native-2 (0.399853 sec) at ../../emacs/test/lisp/progmodes/python-tests.el:4982
Test python-completion-at-point-native-with-eldoc-1 backtrace:
  json-parse-string("__PYTHON_EL_eval_file(\"/var/folders/qy/zstv16390
  python--parse-json-array("__PYTHON_EL_eval_file(\"/var/folders/qy/zs
  python-shell-completion-get-completions(#<process Python[ *temp*-155
  python-shell-completion-at-point(#<process Python[ *temp*-155177]>)
  python-completion-at-point()
  completion--capf-wrapper(python-completion-at-point all)
  run-hook-wrapped(completion--capf-wrapper python-completion-at-point
  completion-at-point()
  apply(completion-at-point nil)
  (setq value-3753 (apply fn-3751 args-3752))
  (unwind-protect (setq value-3753 (apply fn-3751 args-3752)) (setq fo
  (if (unwind-protect (setq value-3753 (apply fn-3751 args-3752)) (set
  (let (form-description-3755) (if (unwind-protect (setq value-3753 (a
  (let ((value-3753 'ert-form-evaluation-aborted-3754)) (let (form-des
  (let* ((fn-3751 #'completion-at-point) (args-3752 (condition-case er
  (let ((inhibit-message t)) (python-shell-completion-native-turn-on) 
  (progn (run-python nil t) (insert "\nimport abc\n") (goto-char (poin
  (unwind-protect (progn (run-python nil t) (insert "\nimport abc\n") 
  (let ((python-indent-guess-indent-offset nil) (python-shell-completi
  (progn (let ((python-indent-guess-indent-offset nil) (python-shell-c
  (unwind-protect (progn (let ((python-indent-guess-indent-offset nil)
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
  (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current
  (closure (t) nil (let* ((fn-3746 #'executable-find) (args-3747 (cond
  #f(compiled-function () #<bytecode -0x3de848aaf387fce>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x3de848aaf387fce
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name python-completion-at-point-native-wit
  ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
  ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
  ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
  ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
  eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
  command-line-1(("-L" ":../../emacs/test" "-l" "ert" "-l" "lisp/progm
  command-line()
  normal-top-level()
Test python-completion-at-point-native-with-eldoc-1 condition:
    (json-parse-error "invalid token near '_'" "<string>" 1 1 1)
   FAILED    7/360  python-completion-at-point-native-with-eldoc-1 (0.451243 sec) at ../../emacs/test/lisp/progmodes/python-tests.el:5015
Test python-completion-at-point-native-with-ffap-1 backtrace:
  json-parse-string("__PYTHON_EL_eval_file(\"/var/folders/qy/zstv16390
  python--parse-json-array("__PYTHON_EL_eval_file(\"/var/folders/qy/zs
  python-shell-completion-get-completions(#<process Python[ *temp*-392
  python-shell-completion-at-point(#<process Python[ *temp*-392361]>)
  python-completion-at-point()
  completion--capf-wrapper(python-completion-at-point all)
  run-hook-wrapped(completion--capf-wrapper python-completion-at-point
  completion-at-point()
  apply(completion-at-point nil)
  (setq value-3743 (apply fn-3741 args-3742))
  (unwind-protect (setq value-3743 (apply fn-3741 args-3742)) (setq fo
  (if (unwind-protect (setq value-3743 (apply fn-3741 args-3742)) (set
  (let (form-description-3745) (if (unwind-protect (setq value-3743 (a
  (let ((value-3743 'ert-form-evaluation-aborted-3744)) (let (form-des
  (let* ((fn-3741 #'completion-at-point) (args-3742 (condition-case er
  (let ((inhibit-message t)) (python-shell-completion-native-turn-on) 
  (progn (run-python nil t) (insert "\nimport abc\n") (goto-char (poin
  (unwind-protect (progn (run-python nil t) (insert "\nimport abc\n") 
  (let ((python-indent-guess-indent-offset nil) (python-shell-completi
  (progn (let ((python-indent-guess-indent-offset nil) (python-shell-c
  (unwind-protect (progn (let ((python-indent-guess-indent-offset nil)
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
  (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current
  (closure (t) nil (let* ((fn-3736 #'executable-find) (args-3737 (cond
  #f(compiled-function () #<bytecode -0x3de848aaf387fce>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x3de848aaf387fce
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name python-completion-at-point-native-wit
  ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
  ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
  ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
  ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
  eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
  command-line-1(("-L" ":../../emacs/test" "-l" "ert" "-l" "lisp/progm
  command-line()
  normal-top-level()
Test python-completion-at-point-native-with-ffap-1 condition:
    (json-parse-error "invalid token near '_'" "<string>" 1 1 1)
   FAILED    8/360  python-completion-at-point-native-with-ffap-1 (0.461626 sec) at ../../emacs/test/lisp/progmodes/python-tests.el:4999
   passed    9/360  python-completion-at-point-pdb-1 (0.403759 sec)
   passed   10/360  python-completion-at-point-while-running-1 (0.200969 sec)
   passed   11/360  python-eldoc--get-doc-at-point-1 (0.409866 sec)
   passed   12/360  python-eldoc--get-doc-at-point-while-running-1 (0.196968 sec)
   passed   13/360  python-eldoc--get-symbol-at-point-1 (0.001494 sec)
   passed   14/360  python-eldoc--get-symbol-at-point-2 (0.001215 sec)
   passed   15/360  python-eldoc--get-symbol-at-point-3 (0.000355 sec)
   passed   16/360  python-eldoc--get-symbol-at-point-4 (0.000367 sec)
   passed   17/360  python-end-of-defun-1 (0.000406 sec)
  skipped   18/360  python-ffap-module-path-1 (0.000411 sec)
   passed   19/360  python-ffap-module-path-while-running-1 (0.204620 sec)
   passed   20/360  python-fill-docstring (0.001313 sec)
   passed   21/360  python-fill-paragraph-single-quoted-string-1 (0.000401 sec)
   passed   22/360  python-fill-paragraph-single-quoted-string-2 (0.000313 sec)
   passed   23/360  python-fill-paragraph-triple-quoted-string-1 (0.003809 sec)
   passed   24/360  python-font-lock-assignment-statement-1 (0.000670 sec)
   passed   25/360  python-font-lock-assignment-statement-10 (0.000358 sec)
   passed   26/360  python-font-lock-assignment-statement-11 (0.000561 sec)
   passed   27/360  python-font-lock-assignment-statement-12 (0.000589 sec)
   passed   28/360  python-font-lock-assignment-statement-13 (0.000741 sec)
   passed   29/360  python-font-lock-assignment-statement-14 (0.000586 sec)
   passed   30/360  python-font-lock-assignment-statement-15 (0.000470 sec)
   passed   31/360  python-font-lock-assignment-statement-16 (0.000378 sec)
   passed   32/360  python-font-lock-assignment-statement-17 (0.000632 sec)
   passed   33/360  python-font-lock-assignment-statement-18 (0.000620 sec)
   passed   34/360  python-font-lock-assignment-statement-2 (0.000803 sec)
   passed   35/360  python-font-lock-assignment-statement-3 (0.000593 sec)
   passed   36/360  python-font-lock-assignment-statement-4 (0.000677 sec)
   passed   37/360  python-font-lock-assignment-statement-5 (0.000494 sec)
   passed   38/360  python-font-lock-assignment-statement-6 (0.000409 sec)
   passed   39/360  python-font-lock-assignment-statement-7 (0.000516 sec)
   passed   40/360  python-font-lock-assignment-statement-8 (0.000442 sec)
   passed   41/360  python-font-lock-assignment-statement-9 (0.000669 sec)
   passed   42/360  python-font-lock-escape-sequence-bytes-newline (0.000449 sec)
   passed   43/360  python-font-lock-escape-sequence-hex-octal (0.000797 sec)
   passed   44/360  python-font-lock-escape-sequence-multiline-string (0.015089 sec)
   passed   45/360  python-font-lock-escape-sequence-string-newline (0.001174 sec)
   passed   46/360  python-font-lock-escape-sequence-unicode (0.000670 sec)
   passed   47/360  python-font-lock-keywords-level-1-1 (0.000784 sec)
   passed   48/360  python-font-lock-keywords-level-1-2 (0.000567 sec)
   passed   49/360  python-font-lock-operator-1 (0.000616 sec)
   passed   50/360  python-font-lock-operator-2 (0.000685 sec)
   passed   51/360  python-font-lock-raw-escape-sequence (0.000931 sec)
   passed   52/360  python-font-lock-string-literal-concatenation (0.000505 sec)
Hiding all blocks... 
Hiding all blocks...done
   passed   53/360  python-hideshow-hide-all-1 (0.000726 sec)
Hiding all blocks... 
Hiding all blocks...done
   passed   54/360  python-hideshow-hide-all-2 (0.000482 sec)
Hiding all blocks... 
Hiding all blocks...done
   passed   55/360  python-hideshow-hide-all-3 (0.000423 sec)
   passed   56/360  python-hideshow-hide-block-1 (0.000525 sec)
Hiding blocks ...
Hiding blocks ... done
Showing all blocks ...
Showing all blocks ... done
   passed   57/360  python-hideshow-hide-levels-1 (0.001158 sec)
Showing all blocks ...
Showing all blocks ... done
   passed   58/360  python-hideshow-hide-levels-2 (0.063466 sec)
Hiding blocks ...
Hiding blocks ... done
   passed   59/360  python-hideshow-hide-levels-3 (0.001151 sec)
Hiding blocks ...
Hiding blocks ... done
   passed   60/360  python-hideshow-hide-levels-4 (0.001123 sec)
   passed   61/360  python-imenu-create-flat-index-1 (0.000588 sec)
   passed   62/360  python-imenu-create-flat-index-2 (0.000365 sec)
   passed   63/360  python-imenu-create-index-1 (0.000564 sec)
   passed   64/360  python-imenu-create-index-2 (0.000345 sec)
   passed   65/360  python-imenu-create-index-3 (0.000337 sec)
   passed   66/360  python-imenu-create-index-4 (0.000354 sec)
   passed   67/360  python-indent-after-async-block-1 (0.000366 sec)
   passed   68/360  python-indent-after-async-block-2 (0.000356 sec)
   passed   69/360  python-indent-after-async-block-3 (0.000366 sec)
   passed   70/360  python-indent-after-backslash-1 (0.000755 sec)
   passed   71/360  python-indent-after-backslash-2 (0.001117 sec)
   passed   72/360  python-indent-after-backslash-3 (0.000536 sec)
   passed   73/360  python-indent-after-backslash-4 (0.001198 sec)
   passed   74/360  python-indent-after-backslash-5 (0.000804 sec)
   passed   75/360  python-indent-after-backslash-6 (0.000594 sec)
   passed   76/360  python-indent-after-bare-match (0.000396 sec)
   passed   77/360  python-indent-after-block-1 (0.000360 sec)
   passed   78/360  python-indent-after-block-2 (0.000345 sec)
   passed   79/360  python-indent-after-block-3 (0.000522 sec)
   passed   80/360  python-indent-after-case-block (0.000358 sec)
   passed   81/360  python-indent-after-comment-1 (0.000815 sec)
   passed   82/360  python-indent-after-comment-2 (0.001021 sec)
   passed   83/360  python-indent-after-comment-3 (0.000543 sec)
   passed   84/360  python-indent-after-match-block (0.000368 sec)
   passed   85/360  python-indent-after-re-match (0.000388 sec)
   passed   86/360  python-indent-base-case (0.000483 sec)
   passed   87/360  python-indent-block-enders-1 (0.000707 sec)
   passed   88/360  python-indent-block-enders-2 (0.001406 sec)
   passed   89/360  python-indent-block-enders-3 (0.000738 sec)
   passed   90/360  python-indent-block-enders-4 (0.000479 sec)
   passed   91/360  python-indent-block-enders-5 (0.000496 sec)
   passed   92/360  python-indent-dedent-line-backspace-1 (0.000467 sec)
   passed   93/360  python-indent-dedent-line-backspace-2 (0.000312 sec)
   passed   94/360  python-indent-dedent-line-backspace-3 (0.000580 sec)
   passed   95/360  python-indent-dedenters-1 (0.000499 sec)
Closes if hide_details:
Closes except Exception:
Closes if save:
   passed   96/360  python-indent-dedenters-2 (0.002075 sec)
Closes try:
   passed   97/360  python-indent-dedenters-3 (0.000975 sec)
Closes try:
   passed   98/360  python-indent-dedenters-4 (0.000954 sec)
Closes if save:
   passed   99/360  python-indent-dedenters-5 (0.001225 sec)
   passed  100/360  python-indent-dedenters-6 (0.000430 sec)
   passed  101/360  python-indent-dedenters-7 (0.000557 sec)
Closes if (a == 1 or
Closes if (a == 1 or
Closes if (a == 1 or
   passed  102/360  python-indent-dedenters-8 (0.054888 sec)
Closes case 1:
   passed  103/360  python-indent-dedenters-9 (0.001045 sec)
Closes if hide_details:
Closes except Exception:
Closes if save:
   passed  104/360  python-indent-dedenters-comment-else (0.002278 sec)
   passed  105/360  python-indent-electric-colon-1 (0.000376 sec)
Closes if do:
   passed  106/360  python-indent-electric-colon-2 (0.000483 sec)
Closes if do:
Closes if do:
Closes if do:
   passed  107/360  python-indent-electric-colon-3 (0.000718 sec)
Closes if True:
   passed  108/360  python-indent-electric-colon-4 (0.000566 sec)
   passed  109/360  python-indent-electric-comma-after-multiline-string (0.000423 sec)
   passed  110/360  python-indent-electric-comma-inside-multiline-string (0.000405 sec)
   passed  111/360  python-indent-hanging-close-paren (0.000351 sec)
   passed  112/360  python-indent-inside-paren-1 (0.001338 sec)
   passed  113/360  python-indent-inside-paren-2 (0.001057 sec)
   passed  114/360  python-indent-inside-paren-3 (0.000878 sec)
   passed  115/360  python-indent-inside-paren-4 (0.000625 sec)
   passed  116/360  python-indent-inside-paren-5 (0.000799 sec)
   passed  117/360  python-indent-inside-paren-6 (0.000444 sec)
   passed  118/360  python-indent-inside-paren-7 (0.000303 sec)
   passed  119/360  python-indent-inside-paren-8 (0.000416 sec)
   passed  120/360  python-indent-inside-paren-9 (0.000911 sec)
   passed  121/360  python-indent-inside-paren-block-1 (0.000900 sec)
   passed  122/360  python-indent-inside-paren-block-2 (0.000817 sec)
   passed  123/360  python-indent-inside-paren-block-3 (0.000588 sec)
   passed  124/360  python-indent-inside-paren-block-4 (0.000584 sec)
   passed  125/360  python-indent-inside-string-1 (0.000646 sec)
   passed  126/360  python-indent-inside-string-2 (0.001953 sec)
   passed  127/360  python-indent-inside-string-3 (0.000754 sec)
   passed  128/360  python-indent-pep8-1 (0.000450 sec)
   passed  129/360  python-indent-pep8-2 (0.000557 sec)
   passed  130/360  python-indent-pep8-3 (0.000930 sec)
   passed  131/360  python-indent-region-1 (0.000539 sec)
   passed  132/360  python-indent-region-2 (0.000637 sec)
   passed  133/360  python-indent-region-3 (0.000518 sec)
   passed  134/360  python-indent-region-4 (0.000454 sec)
   passed  135/360  python-indent-region-5 (0.002005 sec)
   passed  136/360  python-info-assignment-continuation-line-p-1 (0.000400 sec)
   passed  137/360  python-info-assignment-continuation-line-p-2 (0.000387 sec)
   passed  138/360  python-info-assignment-statement-p-1 (0.000417 sec)
   passed  139/360  python-info-assignment-statement-p-2 (0.000410 sec)
   passed  140/360  python-info-assignment-statement-p-3 (0.000480 sec)
   passed  141/360  python-info-beginning-of-backslash-1 (0.000776 sec)
   passed  142/360  python-info-beginning-of-block-p-1 (0.000614 sec)
   passed  143/360  python-info-beginning-of-block-p-2 (0.000437 sec)
   passed  144/360  python-info-beginning-of-statement-p-1 (0.000333 sec)
   passed  145/360  python-info-beginning-of-statement-p-2 (0.000726 sec)
   passed  146/360  python-info-block-continuation-line-p-1 (0.000608 sec)
   passed  147/360  python-info-block-continuation-line-p-2 (0.000561 sec)
   passed  148/360  python-info-continuation-line-p-1 (0.000517 sec)
   passed  149/360  python-info-current-defun-1 (0.000750 sec)
   passed  150/360  python-info-current-defun-2 (0.011937 sec)
   passed  151/360  python-info-current-defun-3 (0.008679 sec)
   passed  152/360  python-info-current-defun-4 (0.001098 sec)
   passed  153/360  python-info-current-line-comment-p-1 (0.000450 sec)
   passed  154/360  python-info-current-line-empty-p (0.000382 sec)
   passed  155/360  python-info-current-symbol-1 (0.000746 sec)
   passed  156/360  python-info-current-symbol-2 (0.000596 sec)
   failed  157/360  python-info-current-symbol-3 (0.000335 sec)
   passed  158/360  python-info-dedenter-opening-block-message-1 (0.000274 sec)
Closes try:
Closes try:
   passed  159/360  python-info-dedenter-opening-block-message-2 (0.000339 sec)
Closes except:
Closes except:
   passed  160/360  python-info-dedenter-opening-block-message-3 (0.000832 sec)
Closes else:
Closes else:
   passed  161/360  python-info-dedenter-opening-block-message-4 (0.000633 sec)
Closes if a:
Closes if a:
   passed  162/360  python-info-dedenter-opening-block-message-5 (0.000618 sec)
   passed  163/360  python-info-dedenter-opening-block-position-1 (0.001020 sec)
   passed  164/360  python-info-dedenter-opening-block-position-2 (0.000366 sec)
   passed  165/360  python-info-dedenter-opening-block-position-3 (0.001109 sec)
   passed  166/360  python-info-dedenter-opening-block-positions-1 (0.001203 sec)
   passed  167/360  python-info-dedenter-opening-block-positions-2 (0.000448 sec)
   passed  168/360  python-info-dedenter-opening-block-positions-3 (0.000665 sec)
   passed  169/360  python-info-dedenter-opening-block-positions-4 (0.000411 sec)
   passed  170/360  python-info-dedenter-opening-block-positions-5 (0.000499 sec)
   passed  171/360  python-info-dedenter-opening-block-positions-6 (0.000833 sec)
   passed  172/360  python-info-dedenter-opening-block-positions-7 (0.000914 sec)
   passed  173/360  python-info-dedenter-statement-p-1 (0.000607 sec)
   passed  174/360  python-info-dedenter-statement-p-2 (0.000506 sec)
   passed  175/360  python-info-dedenter-statement-p-3 (0.000331 sec)
   passed  176/360  python-info-dedenter-statement-p-4 (0.000340 sec)
   passed  177/360  python-info-dedenter-statement-p-5 (0.000324 sec)
   passed  178/360  python-info-dedenter-statement-p-6 (0.000377 sec)
   passed  179/360  python-info-docstring-p-1 (0.001164 sec)
   passed  180/360  python-info-docstring-p-2 (0.000981 sec)
   passed  181/360  python-info-docstring-p-3 (0.001510 sec)
   passed  182/360  python-info-docstring-p-4 (0.001840 sec)
   passed  183/360  python-info-docstring-p-5 (0.002432 sec)
   passed  184/360  python-info-docstring-p-6 (0.001988 sec)
   passed  185/360  python-info-docstring-p-7 (0.000505 sec)
   passed  186/360  python-info-docstring-p-8 (0.000400 sec)
   passed  187/360  python-info-encoding-1 (0.000639 sec)
   passed  188/360  python-info-encoding-2 (0.000430 sec)
   passed  189/360  python-info-encoding-from-cookie-1 (0.000405 sec)
   passed  190/360  python-info-encoding-from-cookie-2 (0.000408 sec)
   passed  191/360  python-info-encoding-from-cookie-3 (0.000286 sec)
   passed  192/360  python-info-encoding-from-cookie-4 (0.000264 sec)
   passed  193/360  python-info-encoding-from-cookie-5 (0.000270 sec)
   passed  194/360  python-info-encoding-from-cookie-6 (0.000265 sec)
   passed  195/360  python-info-encoding-from-cookie-7 (0.000279 sec)
   passed  196/360  python-info-end-of-block-p-1 (0.000608 sec)
   passed  197/360  python-info-end-of-block-p-2 (0.000722 sec)
   passed  198/360  python-info-end-of-statement-p-1 (0.000410 sec)
   passed  199/360  python-info-end-of-statement-p-2 (0.000461 sec)
   passed  200/360  python-info-line-ends-backslash-p-1 (0.000418 sec)
   passed  201/360  python-info-looking-at-beginning-of-block-1 (0.000500 sec)
   passed  202/360  python-info-looking-at-beginning-of-defun-1 (0.000797 sec)
   passed  203/360  python-info-looking-at-beginning-of-defun-2 (0.000608 sec)
   passed  204/360  python-info-looking-at-beginning-of-defun-3 (0.000522 sec)
   passed  205/360  python-info-statement-ends-block-p-1 (0.000447 sec)
   passed  206/360  python-info-statement-ends-block-p-2 (0.000436 sec)
   passed  207/360  python-info-statement-starts-block-p-1 (0.000346 sec)
   passed  208/360  python-info-statement-starts-block-p-2 (0.000390 sec)
   passed  209/360  python-info-triple-quoted-string-p-1 (0.000493 sec)
   passed  210/360  python-info-triple-quoted-string-p-2 (0.000383 sec)
   passed  211/360  python-info-triple-quoted-string-p-3 (0.000473 sec)
Mark set
Mark set
   passed  212/360  python-mark-defun-1 (0.001020 sec)
Mark set
Mark set
   passed  213/360  python-mark-defun-2 (0.001136 sec)
Mark set
Mark set
   passed  214/360  python-mark-defun-3 (0.000968 sec)
Mark set
Mark set
   passed  215/360  python-mark-defun-4 (0.000974 sec)
Mark set
Mark set
Mark set
Mark set
   passed  216/360  python-mark-defun-5 (0.001505 sec)
   passed  217/360  python-nav-backward-defun-1 (0.000660 sec)
   passed  218/360  python-nav-backward-defun-2 (0.000493 sec)
   passed  219/360  python-nav-backward-defun-3 (0.000345 sec)
   passed  220/360  python-nav-backward-defun-4 (0.000305 sec)
   passed  221/360  python-nav-backward-statement-1 (0.000463 sec)
   failed  222/360  python-nav-backward-statement-2 (0.000408 sec)
   failed  223/360  python-nav-backward-up-list-1 (0.000457 sec)
   passed  224/360  python-nav-beginning-of-block-1 (0.000862 sec)
   passed  225/360  python-nav-beginning-of-block-2 (0.000381 sec)
   passed  226/360  python-nav-beginning-of-defun-1 (0.001112 sec)
   passed  227/360  python-nav-beginning-of-defun-2 (0.000954 sec)
   passed  228/360  python-nav-beginning-of-defun-3 (0.000628 sec)
   passed  229/360  python-nav-beginning-of-defun-4 (0.000821 sec)
   passed  230/360  python-nav-beginning-of-defun-5 (0.000534 sec)
   passed  231/360  python-nav-beginning-of-defun-6 (0.000737 sec)
   passed  232/360  python-nav-beginning-of-statement-1 (0.000764 sec)
   passed  233/360  python-nav-end-of-block-1 (0.001861 sec)
   passed  234/360  python-nav-end-of-block-2 (0.000340 sec)
   passed  235/360  python-nav-end-of-defun-1 (0.000966 sec)
   passed  236/360  python-nav-end-of-defun-2 (0.002294 sec)
   passed  237/360  python-nav-end-of-defun-3 (0.000347 sec)
   passed  238/360  python-nav-end-of-statement-1 (0.000533 sec)
   passed  239/360  python-nav-end-of-statement-2 (0.000482 sec)
   passed  240/360  python-nav-end-of-statement-3 (0.000539 sec)
   passed  241/360  python-nav-end-of-statement-4 (0.000551 sec)
   passed  242/360  python-nav-forward-block-1 (0.000995 sec)
   passed  243/360  python-nav-forward-block-2 (0.000373 sec)
   passed  244/360  python-nav-forward-defun-1 (0.000442 sec)
   passed  245/360  python-nav-forward-defun-2 (0.000595 sec)
   passed  246/360  python-nav-forward-defun-3 (0.000470 sec)
   passed  247/360  python-nav-forward-defun-4 (0.000805 sec)
   passed  248/360  python-nav-forward-sexp-1 (0.001713 sec)
   passed  249/360  python-nav-forward-sexp-2 (0.001812 sec)
   passed  250/360  python-nav-forward-sexp-3 (0.001452 sec)
   passed  251/360  python-nav-forward-sexp-safe-1 (0.000907 sec)
   passed  252/360  python-nav-forward-statement-1 (0.000523 sec)
   passed  253/360  python-nav-up-list-1 (0.000296 sec)
   passed  254/360  python-parens-electric-indent-1 (0.001948 sec)
   passed  255/360  python-shell-buffer-substring-1 (0.000728 sec)
   passed  256/360  python-shell-buffer-substring-10 (0.000505 sec)
   passed  257/360  python-shell-buffer-substring-11 (0.000599 sec)
   passed  258/360  python-shell-buffer-substring-12 (0.000640 sec)
   passed  259/360  python-shell-buffer-substring-13 (0.000773 sec)
   passed  260/360  python-shell-buffer-substring-14 (0.000511 sec)
   passed  261/360  python-shell-buffer-substring-15 (0.000452 sec)
   passed  262/360  python-shell-buffer-substring-16 (0.000440 sec)
   passed  263/360  python-shell-buffer-substring-17 (0.000998 sec)
   passed  264/360  python-shell-buffer-substring-18 (0.000789 sec)
   passed  265/360  python-shell-buffer-substring-2 (0.000863 sec)
   passed  266/360  python-shell-buffer-substring-3 (0.000638 sec)
   passed  267/360  python-shell-buffer-substring-4 (0.000699 sec)
   passed  268/360  python-shell-buffer-substring-5 (0.000605 sec)
   passed  269/360  python-shell-buffer-substring-6 (0.000535 sec)
   passed  270/360  python-shell-buffer-substring-7 (0.000522 sec)
   passed  271/360  python-shell-buffer-substring-8 (0.039097 sec)
   passed  272/360  python-shell-buffer-substring-9 (0.000453 sec)
   passed  273/360  python-shell-calculate-exec-path-1 (0.000117 sec)
   passed  274/360  python-shell-calculate-exec-path-2 (0.000089 sec)
   passed  275/360  python-shell-calculate-exec-path-3 (0.000085 sec)
   passed  276/360  python-shell-calculate-exec-path-4 (0.001826 sec)
   passed  277/360  python-shell-calculate-exec-path-5 (0.000082 sec)
   passed  278/360  python-shell-calculate-exec-path-6 (0.000387 sec)
   passed  279/360  python-shell-calculate-process-environment-1 (0.000137 sec)
   passed  280/360  python-shell-calculate-process-environment-2 (0.000159 sec)
   passed  281/360  python-shell-calculate-process-environment-3 (0.000152 sec)
   passed  282/360  python-shell-calculate-process-environment-4 (0.000118 sec)
   passed  283/360  python-shell-calculate-process-environment-5 (0.000115 sec)
   passed  284/360  python-shell-calculate-process-environment-6 (0.000116 sec)
   passed  285/360  python-shell-calculate-process-environment-7 (0.000127 sec)
   passed  286/360  python-shell-calculate-process-environment-8 (0.000124 sec)
   passed  287/360  python-shell-calculate-pythonpath-1 (0.000108 sec)
   passed  288/360  python-shell-calculate-pythonpath-2 (0.000079 sec)
Test python-shell-completion-at-point-1 backtrace:
  signal(json-parse-error ("invalid token near '_'" "<string>" 1 1 1))
  apply(signal (json-parse-error ("invalid token near '_'" "<string>" 
  (setq value-3589 (apply fn-3587 args-3588))
  (unwind-protect (setq value-3589 (apply fn-3587 args-3588)) (setq fo
  (if (unwind-protect (setq value-3589 (apply fn-3587 args-3588)) (set
  (let (form-description-3591) (if (unwind-protect (setq value-3589 (a
  (let ((value-3589 'ert-form-evaluation-aborted-3590)) (let (form-des
  (let* ((fn-3587 #'nth) (args-3588 (condition-case err (list 2 (pytho
  (save-current-buffer (set-buffer (process-buffer shell-process)) (in
  (let ((shell-process (python-shell-get-process-or-error))) (save-cur
  (progn (run-python nil t) (insert "") (goto-char (point-min)) (pytho
  (unwind-protect (progn (run-python nil t) (insert "") (goto-char (po
  (let ((python-indent-guess-indent-offset nil) (python-shell-completi
  (progn (let ((python-indent-guess-indent-offset nil) (python-shell-c
  (unwind-protect (progn (let ((python-indent-guess-indent-offset nil)
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
  (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current
  (closure (t) nil (let* ((fn-3582 #'executable-find) (args-3583 (cond
  #f(compiled-function () #<bytecode -0x3de848aaf387fce>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x3de848aaf387fce
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name python-shell-completion-at-point-1 :d
  ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
  ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
  ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
  ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
  eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
  command-line-1(("-L" ":../../emacs/test" "-l" "ert" "-l" "lisp/progm
  command-line()
  normal-top-level()
Test python-shell-completion-at-point-1 condition:
    (json-parse-error "invalid token near '_'" "<string>" 1 1 1)
   FAILED  289/360  python-shell-completion-at-point-1 (0.394116 sec) at ../../emacs/test/lisp/progmodes/python-tests.el:4777
  skipped  290/360  python-shell-completion-at-point-ipython (0.000420 sec)
Warning (python): Your `python-shell-interpreter' doesn't seem to support readline, yet `python-shell-completion-native-enable' was t and "python3" is not part of the `python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally. Consider installing the python package "readline". 
  skipped  291/360  python-shell-completion-at-point-jedi-completer (0.280412 sec)
Warning (python): Your `python-shell-interpreter' doesn't seem to support readline, yet `python-shell-completion-native-enable' was t and "python3" is not part of the `python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally. Consider installing the python package "readline". 
Test python-shell-completion-at-point-native-1 backtrace:
  signal(json-parse-error ("invalid token near '_'" "<string>" 1 1 1))
  apply(signal (json-parse-error ("invalid token near '_'" "<string>" 
  (setq value-3604 (apply fn-3602 args-3603))
  (unwind-protect (setq value-3604 (apply fn-3602 args-3603)) (setq fo
  (if (unwind-protect (setq value-3604 (apply fn-3602 args-3603)) (set
  (let (form-description-3606) (if (unwind-protect (setq value-3604 (a
  (let ((value-3604 'ert-form-evaluation-aborted-3605)) (let (form-des
  (let* ((fn-3602 #'nth) (args-3603 (condition-case err (list 2 (pytho
  (save-current-buffer (set-buffer (process-buffer shell-process)) (in
  (let ((shell-process (python-shell-get-process-or-error))) (save-cur
  (progn (run-python nil t) (insert "") (goto-char (point-min)) (pytho
  (unwind-protect (progn (run-python nil t) (insert "") (goto-char (po
  (let ((python-indent-guess-indent-offset nil) (python-shell-completi
  (progn (let ((python-indent-guess-indent-offset nil) (python-shell-c
  (unwind-protect (progn (let ((python-indent-guess-indent-offset nil)
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
  (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current
  (closure (t) nil (let* ((fn-3597 #'executable-find) (args-3598 (cond
  #f(compiled-function () #<bytecode -0x3de848aaf387fce>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x3de848aaf387fce
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name python-shell-completion-at-point-nati
  ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
  ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
  ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
  ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
  eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
  command-line-1(("-L" ":../../emacs/test" "-l" "ert" "-l" "lisp/progm
  command-line()
  normal-top-level()
Test python-shell-completion-at-point-native-1 condition:
    (json-parse-error "invalid token near '_'" "<string>" 1 1 1)
   FAILED  292/360  python-shell-completion-at-point-native-1 (0.409009 sec) at ../../emacs/test/lisp/progmodes/python-tests.el:4790
   passed  293/360  python-shell-completion-native-interpreter-disabled-p-1 (0.000129 sec)
Can't guess python-indent-offset, using defaults: 4
   passed  294/360  python-shell-get-process-1 (0.119660 sec)
   passed  295/360  python-shell-get-process-name-1 (0.000397 sec)
Can't guess python-indent-offset, using defaults: 4
   passed  296/360  python-shell-get-process-name-2 (0.007572 sec)
Can't guess python-indent-offset, using defaults: 4
   passed  297/360  python-shell-internal-get-or-create-process-1 (0.061770 sec)
   passed  298/360  python-shell-internal-get-process-name-1 (0.000318 sec)
Can't guess python-indent-offset, using defaults: 4
   passed  299/360  python-shell-internal-get-process-name-2 (0.006945 sec)
   passed  300/360  python-shell-make-comint-1 (0.062339 sec)
   passed  301/360  python-shell-make-comint-2 (0.051213 sec)
   passed  302/360  python-shell-make-comint-3 (0.050301 sec)
   passed  303/360  python-shell-make-comint-4 (0.055261 sec)
   passed  304/360  python-shell-prompt-detect-1 (0.077066 sec)
   passed  305/360  python-shell-prompt-detect-2 (0.078614 sec)
   passed  306/360  python-shell-prompt-detect-3 (0.000390 sec)
Warning (python): Python shell prompts cannot be detected.
If your emacs session hangs when starting python shells
recover with `keyboard-quit' and then try fixing the
interactive flag for your interpreter by adjusting the
`python-shell-interpreter-interactive-arg' or add regexps
matching shell prompts in the directory-local friendly vars:
  + `python-shell-prompt-regexp'
  + `python-shell-prompt-block-regexp'
  + `python-shell-prompt-output-regexp'
Or alternatively in:
  + `python-shell-prompt-input-regexps'
  + `python-shell-prompt-output-regexps'
   passed  307/360  python-shell-prompt-detect-4 (0.083172 sec)
   passed  308/360  python-shell-prompt-detect-5 (0.079290 sec)
   passed  309/360  python-shell-prompt-detect-6 (0.001412 sec)
   passed  310/360  python-shell-prompt-set-calculated-regexps-1 (0.000211 sec)
   passed  311/360  python-shell-prompt-set-calculated-regexps-2 (0.000106 sec)
   passed  312/360  python-shell-prompt-set-calculated-regexps-3 (0.000105 sec)
   passed  313/360  python-shell-prompt-set-calculated-regexps-4 (0.000103 sec)
   passed  314/360  python-shell-prompt-set-calculated-regexps-5 (0.000100 sec)
   passed  315/360  python-shell-prompt-set-calculated-regexps-6 (0.083597 sec)
   passed  316/360  python-shell-prompt-validate-regexps-1 (0.000161 sec)
   passed  317/360  python-shell-prompt-validate-regexps-2 (0.000198 sec)
   passed  318/360  python-shell-prompt-validate-regexps-3 (0.000152 sec)
   passed  319/360  python-shell-prompt-validate-regexps-4 (0.000123 sec)
   passed  320/360  python-shell-prompt-validate-regexps-5 (0.000118 sec)
   passed  321/360  python-shell-prompt-validate-regexps-6 (0.000111 sec)
   passed  322/360  python-shell-prompt-validate-regexps-7 (0.000087 sec)
   passed  323/360  python-shell-with-environment-1 (0.000323 sec)
   passed  324/360  python-shell-with-environment-2 (0.000575 sec)
   passed  325/360  python-shell-with-environment-3 (0.000584 sec)
   passed  326/360  python-syntax-after-python-backspace (0.000540 sec)
   passed  327/360  python-syntax-context-1 (0.000579 sec)
   passed  328/360  python-tests--fill-long-first-line (0.001301 sec)
   passed  329/360  python-tests--flymake-command-output-pattern (0.000159 sec)
   passed  330/360  python-tests--run-python-selects-window (0.089348 sec)
   passed  331/360  python-tests-look-at-1 (0.000405 sec)
   passed  332/360  python-tests-look-at-2 (0.000268 sec)
   passed  333/360  python-triple-double-quote-pairing (0.002917 sec)
   passed  334/360  python-triple-single-quote-pairing (0.001202 sec)
   passed  335/360  python-ts-mode-assignement-face-2 (0.052428 sec)
   passed  336/360  python-ts-mode-builtin-call-face (0.019162 sec)
   passed  337/360  python-ts-mode-class-patterns-face (0.002167 sec)
   passed  338/360  python-ts-mode-compound-keywords-face (0.012803 sec)
   passed  339/360  python-ts-mode-disabled-string-interpolation (0.002925 sec)
   passed  340/360  python-ts-mode-dotted-decorator-face-1 (0.003119 sec)
   passed  341/360  python-ts-mode-dotted-decorator-face-2 (0.002183 sec)
   passed  342/360  python-ts-mode-interpolation-doc-string (0.001884 sec)
   passed  343/360  python-ts-mode-interpolation-nested-string (0.001666 sec)
   passed  344/360  python-ts-mode-isinstance-type-face-1 (0.001781 sec)
   passed  345/360  python-ts-mode-isinstance-type-face-2 (0.001595 sec)
   passed  346/360  python-ts-mode-isinstance-type-face-3 (0.001949 sec)
   passed  347/360  python-ts-mode-level-fontification-wo-interpolation (0.001787 sec)
   passed  348/360  python-ts-mode-named-assignement-face-1 (0.001459 sec)
   passed  349/360  python-ts-mode-nested-types-face-1 (0.001656 sec)
   passed  350/360  python-ts-mode-superclass-type-face (0.001582 sec)
   passed  351/360  python-ts-mode-types-face-1 (0.001745 sec)
   passed  352/360  python-ts-mode-types-face-2 (0.002995 sec)
   passed  353/360  python-ts-mode-types-face-3 (0.003777 sec)
   passed  354/360  python-ts-mode-union-types-face-1 (0.002735 sec)
   passed  355/360  python-ts-mode-union-types-face-2 (0.001914 sec)
   passed  356/360  python-util-clone-local-variables-1 (0.000445 sec)
   passed  357/360  python-util-forward-comment-1 (0.001760 sec)
   passed  358/360  python-util-goto-line-1 (0.000713 sec)
   passed  359/360  python-util-strip-string-1 (0.000253 sec)
   passed  360/360  python-util-valid-regexp-p-1 (0.000145 sec)

Ran 360 tests, 349 results as expected, 8 unexpected, 3 skipped (2024-02-15 15:38:14+0100, 8.953487 sec)
3 expected failures

8 unexpected results:
   FAILED  python-completion-at-point-1
   FAILED  python-completion-at-point-2
   FAILED  python-completion-at-point-native-1
   FAILED  python-completion-at-point-native-2
   FAILED  python-completion-at-point-native-with-eldoc-1
   FAILED  python-completion-at-point-native-with-ffap-1
   FAILED  python-shell-completion-at-point-1
   FAILED  python-shell-completion-at-point-native-1

3 skipped results:
  SKIPPED  python-ffap-module-path-1
  SKIPPED  python-shell-completion-at-point-ipython
  SKIPPED  python-shell-completion-at-point-jedi-completer

  parent reply	other threads:[~2024-02-15 14:43 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-18  4:48 bug#68559: [PATCH] Improve Python shell completion Liu Hui
2024-01-18  6:39 ` Eli Zaretskii
2024-01-21  9:34   ` kobarity
2024-01-23 11:31     ` Liu Hui
2024-01-23 14:15       ` kobarity
2024-01-24 10:07         ` Liu Hui
2024-01-25 15:38           ` kobarity
2024-01-26 10:12             ` Liu Hui
2024-01-28 13:22               ` kobarity
2024-01-29 13:15                 ` kobarity
2024-02-01  9:52                   ` Eli Zaretskii
2024-02-01 14:39                     ` kobarity
2024-02-01 15:02                       ` Liu Hui
2024-02-04 12:09                 ` Liu Hui
2024-02-04 14:35                   ` kobarity
2024-02-05 15:03                     ` Liu Hui
2024-02-06  1:25                       ` Liu Hui
2024-02-06 15:12                         ` kobarity
2024-02-07 13:22                           ` Liu Hui
2024-02-07 15:19                             ` kobarity
2024-02-08 12:13                               ` Eli Zaretskii
2024-02-08 13:33                                 ` Liu Hui
2024-02-08 13:46                                   ` Eli Zaretskii
2024-02-08 14:16                                     ` Liu Hui
2024-02-08 16:43                                       ` Eli Zaretskii
2024-02-15 14:43 ` Mattias Engdegård [this message]
2024-02-15 16:37   ` Eli Zaretskii
2024-02-15 16:48     ` Eli Zaretskii
2024-02-15 17:21       ` Mattias Engdegård
2024-02-19 13:18       ` Basil L. Contovounesios
2024-02-20  4:46         ` Liu Hui
2024-02-20 13:15           ` Basil L. Contovounesios
2024-02-21 10:00             ` Liu Hui
2024-02-21 14:55               ` Basil L. Contovounesios
2024-02-22 10:31                 ` Liu Hui
2024-02-22 13:56                   ` Basil L. Contovounesios
2024-02-23 13:07                     ` Liu Hui
2024-02-28 14:47                       ` Basil L. Contovounesios
2024-02-16  4:06     ` Liu Hui
2024-02-16  7:41       ` Eli Zaretskii
2024-02-16 12:51         ` Eli Zaretskii
2024-02-16  3:24   ` Liu Hui
2024-02-16  9:34     ` kobarity
2024-02-16 11:45       ` Mattias Engdegård
2024-02-16 15:24         ` kobarity
2024-02-16 15:52           ` Eli Zaretskii
2024-02-16 20:10           ` Mattias Engdegård
2024-02-17 13:33             ` kobarity
2024-02-20 10:16               ` Mattias Engdegård
2024-02-21 13:13                 ` kobarity
2024-02-21 18:20                   ` Mattias Engdegård
2024-02-22 16:15                     ` kobarity
2024-02-23 11:00                       ` Mattias Engdegård
2024-02-23 14:39                         ` kobarity
2024-02-26 11:06                           ` Liu Hui
2024-02-26 12:16                             ` Mattias Engdegård
2024-02-26 15:08                               ` kobarity
2024-02-28 14:49                             ` Basil L. Contovounesios
2024-03-06 10:14                               ` Liu Hui
2024-03-08 15:44                                 ` Basil L. Contovounesios
2024-03-11 11:35                                   ` Liu Hui
2024-03-11 16:02                                     ` Basil L. Contovounesios
2024-03-13 10:21                                       ` Liu Hui
2024-03-14 14:24                                         ` Basil L. Contovounesios
2024-03-16  6:49                                           ` Liu Hui
2024-03-16  8:27                                             ` Eli Zaretskii
2024-02-17  4:36           ` Liu Hui
2024-02-17 13:20             ` Mattias Engdegård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6BAFD8BF-8F18-4D9F-9DB3-A185AEF2EBCA@gmail.com \
    --to=mattias.engdegard@gmail.com \
    --cc=68559@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=kobarity@gmail.com \
    --cc=liuhui1610@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).