Subject: 25.0.50; Python tests fail on MS-Windows

From: Eli Zaretskii <[email-masked]>
Date: Sat, 31 Jan 2015 11:59:18 +0200

See the subject.  The reason (at least one of them) is that the Python
interpreter hangs during the test, and I need to kill it.  I didn't
try this on a Unix box, so the "on MS-Windows" part is a guess.

There's the part of the log that might be related, but I don't really
understand what it tries to tell:

  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'

If this is required for the test not to hang, then would it be
possible to have the test suite do this automatically?

Here's what the test reports, let me know if any additional details
are needed.

  Testing python-tests.elc
  Running 187 tests (2015-01-31 10:32:21+0200)
  Can't guess python-indent-offset, using defaults: 4
     passed    1/187  python-imenu-create-flat-index-1
  Can't guess python-indent-offset, using defaults: 4
     passed    2/187  python-imenu-create-flat-index-2
  Can't guess python-indent-offset, using defaults: 4
     passed    3/187  python-imenu-create-index-1
  Can't guess python-indent-offset, using defaults: 4
     passed    4/187  python-imenu-create-index-2
  Can't guess python-indent-offset, using defaults: 4
     passed    5/187  python-imenu-create-index-3
  Can't guess python-indent-offset, using defaults: 4
     passed    6/187  python-imenu-create-index-4
  Can't guess python-indent-offset, using defaults: 4
     passed    7/187  python-indent-after-backslash-1
  Can't guess python-indent-offset, using defaults: 4
     passed    8/187  python-indent-after-backslash-2
  Can't guess python-indent-offset, using defaults: 4
     passed    9/187  python-indent-after-backslash-3
  Can't guess python-indent-offset, using defaults: 4
     passed   10/187  python-indent-after-backslash-4
  Can't guess python-indent-offset, using defaults: 4
     passed   11/187  python-indent-after-backslash-5
  Can't guess python-indent-offset, using defaults: 4
     passed   12/187  python-indent-after-block-1
  Can't guess python-indent-offset, using defaults: 4
     passed   13/187  python-indent-after-block-2
  Can't guess python-indent-offset, using defaults: 4
     passed   14/187  python-indent-after-block-3
  Can't guess python-indent-offset, using defaults: 4
     passed   15/187  python-indent-after-comment-1
  Can't guess python-indent-offset, using defaults: 4
     passed   16/187  python-indent-after-comment-2
  Can't guess python-indent-offset, using defaults: 4
     passed   17/187  python-indent-base-case
  Can't guess python-indent-offset, using defaults: 4
     passed   18/187  python-indent-block-enders-1
  Can't guess python-indent-offset, using defaults: 4
     passed   19/187  python-indent-block-enders-2
  Can't guess python-indent-offset, using defaults: 4
     passed   20/187  python-indent-block-enders-3
  Can't guess python-indent-offset, using defaults: 4
     passed   21/187  python-indent-block-enders-4
  Can't guess python-indent-offset, using defaults: 4
     passed   22/187  python-indent-block-enders-5
  Can't guess python-indent-offset, using defaults: 4
     passed   23/187  python-indent-dedent-line-backspace-1
  Can't guess python-indent-offset, using defaults: 4
     passed   24/187  python-indent-dedenters-1
  Can't guess python-indent-offset, using defaults: 4
  Closes if hide_details:
  Closes except Exception:
  Closes if save:
     passed   25/187  python-indent-dedenters-2
  Can't guess python-indent-offset, using defaults: 4
  Closes try:
     passed   26/187  python-indent-dedenters-3
  Can't guess python-indent-offset, using defaults: 4
  Closes try:
     passed   27/187  python-indent-dedenters-4
  Can't guess python-indent-offset, using defaults: 4
  Closes if save:
     passed   28/187  python-indent-dedenters-5
  Can't guess python-indent-offset, using defaults: 4
     passed   29/187  python-indent-dedenters-6
  Can't guess python-indent-offset, using defaults: 4
     passed   30/187  python-indent-dedenters-7
  Can't guess python-indent-offset, using defaults: 4
  Closes if (a == 1 or
  Closes if (a == 1 or
  Closes if (a == 1 or
     passed   31/187  python-indent-dedenters-8
  Can't guess python-indent-offset, using defaults: 4
     passed   32/187  python-indent-electric-colon-1
  Can't guess python-indent-offset, using defaults: 4
  Closes if do:
     passed   33/187  python-indent-electric-colon-2
  Can't guess python-indent-offset, using defaults: 4
  Closes if do:
  Closes if do:
  Closes if do:
     passed   34/187  python-indent-electric-colon-3
  Can't guess python-indent-offset, using defaults: 4
     passed   35/187  python-indent-inside-paren-1
  Can't guess python-indent-offset, using defaults: 4
     passed   36/187  python-indent-inside-paren-2
  Can't guess python-indent-offset, using defaults: 4
     passed   37/187  python-indent-inside-paren-3
  Can't guess python-indent-offset, using defaults: 4
     passed   38/187  python-indent-inside-paren-4
  Can't guess python-indent-offset, using defaults: 4
     passed   39/187  python-indent-inside-paren-5
  Can't guess python-indent-offset, using defaults: 4
     passed   40/187  python-indent-inside-paren-6
  Can't guess python-indent-offset, using defaults: 4
     passed   41/187  python-indent-inside-string-1
  Can't guess python-indent-offset, using defaults: 4
     passed   42/187  python-indent-inside-string-2
  Can't guess python-indent-offset, using defaults: 4
     passed   43/187  python-indent-inside-string-3
  Can't guess python-indent-offset, using defaults: 4
     passed   44/187  python-indent-pep8-1
  Can't guess python-indent-offset, using defaults: 4
     passed   45/187  python-indent-pep8-2
  Can't guess python-indent-offset, using defaults: 4
     passed   46/187  python-indent-pep8-3
  Can't guess python-indent-offset, using defaults: 4
     passed   47/187  python-indent-region-1
  Can't guess python-indent-offset, using defaults: 4
     passed   48/187  python-indent-region-2
  Can't guess python-indent-offset, using defaults: 4
     passed   49/187  python-indent-region-3
  Can't guess python-indent-offset, using defaults: 4
     passed   50/187  python-indent-region-4
  Can't guess python-indent-offset, using defaults: 4
     passed   51/187  python-indent-region-5
  Can't guess python-indent-offset, using defaults: 4
     passed   52/187  python-info-assignment-continuation-line-p-1
  Can't guess python-indent-offset, using defaults: 4
     passed   53/187  python-info-assignment-continuation-line-p-2
  Can't guess python-indent-offset, using defaults: 4
     passed   54/187  python-info-beginning-of-backslash-1
  Can't guess python-indent-offset, using defaults: 4
     passed   55/187  python-info-beginning-of-block-p-1
  Can't guess python-indent-offset, using defaults: 4
     passed   56/187  python-info-beginning-of-block-p-2
  Can't guess python-indent-offset, using defaults: 4
     passed   57/187  python-info-beginning-of-statement-p-1
  Can't guess python-indent-offset, using defaults: 4
     passed   58/187  python-info-beginning-of-statement-p-2
  Can't guess python-indent-offset, using defaults: 4
     passed   59/187  python-info-block-continuation-line-p-1
  Can't guess python-indent-offset, using defaults: 4
     passed   60/187  python-info-block-continuation-line-p-2
  Can't guess python-indent-offset, using defaults: 4
     passed   61/187  python-info-continuation-line-p-1
  Can't guess python-indent-offset, using defaults: 4
     passed   62/187  python-info-current-defun-1
  Can't guess python-indent-offset, using defaults: 4
     passed   63/187  python-info-current-defun-2
  Can't guess python-indent-offset, using defaults: 4
     passed   64/187  python-info-current-defun-3
  Can't guess python-indent-offset, using defaults: 4
     passed   65/187  python-info-current-line-comment-p-1
  Can't guess python-indent-offset, using defaults: 4
     passed   66/187  python-info-current-line-empty-p
  Can't guess python-indent-offset, using defaults: 4
     passed   67/187  python-info-current-symbol-1
  Can't guess python-indent-offset, using defaults: 4
     passed   68/187  python-info-current-symbol-2
  Can't guess python-indent-offset, using defaults: 4
     failed   69/187  python-info-current-symbol-3
  Can't guess python-indent-offset, using defaults: 4
     passed   70/187  python-info-dedenter-opening-block-message-1
  Can't guess python-indent-offset, using defaults: 4
  Closes try:
  Closes try:
     passed   71/187  python-info-dedenter-opening-block-message-2
  Can't guess python-indent-offset, using defaults: 4
  Closes except:
  Closes except:
     passed   72/187  python-info-dedenter-opening-block-message-3
  Can't guess python-indent-offset, using defaults: 4
  Closes else:
  Closes else:
     passed   73/187  python-info-dedenter-opening-block-message-4
  Can't guess python-indent-offset, using defaults: 4
  Closes if a:
  Closes if a:
     passed   74/187  python-info-dedenter-opening-block-message-5
  Can't guess python-indent-offset, using defaults: 4
     passed   75/187  python-info-dedenter-opening-block-position-1
  Can't guess python-indent-offset, using defaults: 4
     passed   76/187  python-info-dedenter-opening-block-position-2
  Can't guess python-indent-offset, using defaults: 4
     passed   77/187  python-info-dedenter-opening-block-position-3
  Can't guess python-indent-offset, using defaults: 4
     passed   78/187  python-info-dedenter-opening-block-positions-1
  Can't guess python-indent-offset, using defaults: 4
     passed   79/187  python-info-dedenter-opening-block-positions-2
  Can't guess python-indent-offset, using defaults: 4
     passed   80/187  python-info-dedenter-opening-block-positions-3
  Can't guess python-indent-offset, using defaults: 4
     passed   81/187  python-info-dedenter-opening-block-positions-4
  Can't guess python-indent-offset, using defaults: 4
     passed   82/187  python-info-dedenter-opening-block-positions-5
  Can't guess python-indent-offset, using defaults: 4
     passed   83/187  python-info-dedenter-statement-p-1
  Can't guess python-indent-offset, using defaults: 4
     passed   84/187  python-info-dedenter-statement-p-2
  Can't guess python-indent-offset, using defaults: 4
     passed   85/187  python-info-dedenter-statement-p-3
  Can't guess python-indent-offset, using defaults: 4
     passed   86/187  python-info-dedenter-statement-p-4
  Can't guess python-indent-offset, using defaults: 4
     passed   87/187  python-info-dedenter-statement-p-5
  Can't guess python-indent-offset, using defaults: 4
     passed   88/187  python-info-encoding-1
  Can't guess python-indent-offset, using defaults: 4
     passed   89/187  python-info-encoding-2
  Can't guess python-indent-offset, using defaults: 4
     passed   90/187  python-info-encoding-from-cookie-1
  Can't guess python-indent-offset, using defaults: 4
     passed   91/187  python-info-encoding-from-cookie-2
  Can't guess python-indent-offset, using defaults: 4
     passed   92/187  python-info-encoding-from-cookie-3
  Can't guess python-indent-offset, using defaults: 4
     passed   93/187  python-info-encoding-from-cookie-4
  Can't guess python-indent-offset, using defaults: 4
     passed   94/187  python-info-encoding-from-cookie-5
  Can't guess python-indent-offset, using defaults: 4
     passed   95/187  python-info-encoding-from-cookie-6
  Can't guess python-indent-offset, using defaults: 4
     passed   96/187  python-info-encoding-from-cookie-7
  Can't guess python-indent-offset, using defaults: 4
     passed   97/187  python-info-end-of-block-p-1
  Can't guess python-indent-offset, using defaults: 4
     passed   98/187  python-info-end-of-block-p-2
  Can't guess python-indent-offset, using defaults: 4
     passed   99/187  python-info-end-of-statement-p-1
  Can't guess python-indent-offset, using defaults: 4
     passed  100/187  python-info-end-of-statement-p-2
  Can't guess python-indent-offset, using defaults: 4
     passed  101/187  python-info-line-ends-backslash-p-1
  Can't guess python-indent-offset, using defaults: 4
     passed  102/187  python-info-looking-at-beginning-of-defun-1
  Can't guess python-indent-offset, using defaults: 4
     passed  103/187  python-info-statement-ends-block-p-1
  Can't guess python-indent-offset, using defaults: 4
     passed  104/187  python-info-statement-ends-block-p-2
  Can't guess python-indent-offset, using defaults: 4
     passed  105/187  python-info-statement-starts-block-p-1
  Can't guess python-indent-offset, using defaults: 4
     passed  106/187  python-info-statement-starts-block-p-2
  Can't guess python-indent-offset, using defaults: 4
     passed  107/187  python-nav-backward-defun-1
  Can't guess python-indent-offset, using defaults: 4
     passed  108/187  python-nav-backward-defun-2
  Can't guess python-indent-offset, using defaults: 4
     passed  109/187  python-nav-backward-defun-3
  Can't guess python-indent-offset, using defaults: 4
     passed  110/187  python-nav-backward-statement-1
  Can't guess python-indent-offset, using defaults: 4
     failed  111/187  python-nav-backward-statement-2
  Can't guess python-indent-offset, using defaults: 4
     failed  112/187  python-nav-backward-up-list-1
  Can't guess python-indent-offset, using defaults: 4
     passed  113/187  python-nav-beginning-of-block-1
  Can't guess python-indent-offset, using defaults: 4
     passed  114/187  python-nav-beginning-of-defun-1
  Can't guess python-indent-offset, using defaults: 4
     passed  115/187  python-nav-beginning-of-defun-2
  Can't guess python-indent-offset, using defaults: 4
     passed  116/187  python-nav-beginning-of-statement-1
  Can't guess python-indent-offset, using defaults: 4
     passed  117/187  python-nav-end-of-block-1
  Can't guess python-indent-offset, using defaults: 4
     passed  118/187  python-nav-end-of-defun-1
  Can't guess python-indent-offset, using defaults: 4
     passed  119/187  python-nav-end-of-defun-2
  Can't guess python-indent-offset, using defaults: 4
     passed  120/187  python-nav-end-of-statement-1
  Can't guess python-indent-offset, using defaults: 4
     passed  121/187  python-nav-forward-block-1
  Can't guess python-indent-offset, using defaults: 4
     passed  122/187  python-nav-forward-defun-1
  Can't guess python-indent-offset, using defaults: 4
     passed  123/187  python-nav-forward-defun-2
  Can't guess python-indent-offset, using defaults: 4
     passed  124/187  python-nav-forward-defun-3
  Can't guess python-indent-offset, using defaults: 4
     passed  125/187  python-nav-forward-sexp-1
  Can't guess python-indent-offset, using defaults: 4
     passed  126/187  python-nav-forward-sexp-2
  Can't guess python-indent-offset, using defaults: 4
     passed  127/187  python-nav-forward-sexp-3
  Can't guess python-indent-offset, using defaults: 4
     passed  128/187  python-nav-forward-sexp-safe-1
  Can't guess python-indent-offset, using defaults: 4
     passed  129/187  python-nav-forward-statement-1
  Can't guess python-indent-offset, using defaults: 4
     passed  130/187  python-nav-up-list-1
  Can't guess python-indent-offset, using defaults: 4
     passed  131/187  python-parens-electric-indent-1
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
     passed  132/187  python-shell-buffer-substring-1
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
     passed  133/187  python-shell-buffer-substring-2
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
     passed  134/187  python-shell-buffer-substring-3
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
     passed  135/187  python-shell-buffer-substring-4
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
     passed  136/187  python-shell-buffer-substring-5
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
     passed  137/187  python-shell-buffer-substring-6
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
     passed  138/187  python-shell-buffer-substring-7
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
     passed  139/187  python-shell-buffer-substring-8
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
     passed  140/187  python-shell-buffer-substring-9
  Test python-shell-calculate-command-1 backtrace:
    #[nil "\30C↓→\307310∟\3111→ \312\216\313\n    \"\211‼)0\202∟ \210\3
    ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
    ert-run-test([cl-struct-ert-test python-shell-calculate-command-1 "C
    ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test p
    ert-run-tests(t #[385 "\306☻\307\"\203D \211\211G\310U\203¶ \211@\20
    ert-run-tests-batch(nil)
    ert-run-tests-batch-and-exit()
    command-line-1(("-L" ";." "-l" "ert" "-l" "python-tests.elc" "-f" "e
    command-line()
    normal-top-level()
  Test python-shell-calculate-command-1 condition:
      (ert-test-failed
       ((should
	 (string=
	  (format "%s %s" python-shell-interpreter python-shell-interpreter-args)
	  (python-shell-calculate-command)))
	:form
	(string= "d:/usr/Python26/python.exe -B" "\"d:/usr/Python26/python.exe\" - B")
	:value nil))
     FAILED  141/187  python-shell-calculate-command-1
     passed  142/187  python-shell-calculate-exec-path-1
     passed  143/187  python-shell-calculate-exec-path-2
     passed  144/187  python-shell-calculate-process-environment-1
     passed  145/187  python-shell-calculate-process-environment-2
     passed  146/187  python-shell-calculate-process-environment-3
     passed  147/187  python-shell-calculate-process-environment-4
     passed  148/187  python-shell-calculate-process-environment-5
     passed  149/187  python-shell-completion-native-interpreter-disabled-p-1
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
  Making python-shell-interpreter local to *Python* while let-bound!
  Making python-shell-interpreter-args local to *Python* while let-bound!
  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'
  Warning (python): Your `python-shell-interpreter' doesn't seem to support readli
  ne, yet `python-shell-completion-native' was `t' and "python.exe" is not part of
   the `python-shell-completion-native-disabled-interpreters' list.  Native comple
  tions have been disabled locally.
  Shell native completion is disabled, using fallback
  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'
  Warning (python): Your `python-shell-interpreter' doesn't seem to support readline, yet `python-shell-completion-native' was `t' and "python.exe" is not part of the `python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally.
  Shell native completion is disabled, using fallback
     passed  150/187  python-shell-get-process-1
  Can't guess python-indent-offset, using defaults: 4
     passed  151/187  python-shell-get-process-name-1
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
     passed  152/187  python-shell-get-process-name-2
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
  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  153/187  python-shell-internal-get-or-create-process-1
  Can't guess python-indent-offset, using defaults: 4
     passed  154/187  python-shell-internal-get-process-name-1
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
     passed  155/187  python-shell-internal-get-process-name-2
  Can't guess python-indent-offset, using defaults: 4
  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'
  Warning (python): Your `python-shell-interpreter' doesn't seem to support readline, yet `python-shell-completion-native' was `t' and "python.exe" is not part of the `python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally.
  Shell native completion is disabled, using fallback
     passed  156/187  python-shell-make-comint-1
  Can't guess python-indent-offset, using defaults: 4
  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'
  Warning (python): Your `python-shell-interpreter' doesn't seem to support readline, yet `python-shell-completion-native' was `t' and "python.exe" is not part of the `python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally.
  Shell native completion is disabled, using fallback
     passed  157/187  python-shell-make-comint-2
  Can't guess python-indent-offset, using defaults: 4
  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'
  Warning (python): Your `python-shell-interpreter' doesn't seem to support readline, yet `python-shell-completion-native' was `t' and "python.exe" is not part of the `python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally.
  Shell native completion is disabled, using fallback
     passed  158/187  python-shell-make-comint-3
  Can't guess python-indent-offset, using defaults: 4
  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'
  Warning (python): Your `python-shell-interpreter' doesn't seem to support readline, yet `python-shell-completion-native' was `t' and "python.exe" is not part of the `python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally.
  Test python-shell-make-comint-4 backtrace:
    python-shell-get-process-or-error()
    python-shell-completion-native-turn-off(t)
    python-shell-completion-native-turn-on-maybe(t)
    python-shell-completion-native-turn-on-maybe-with-msg()
    run-hooks(change-major-mode-after-body-hook comint-mode-hook inferio
    apply(run-hooks (change-major-mode-after-body-hook comint-mode-hook
    run-mode-hooks(inferior-python-mode-hook)
    inferior-python-mode()
    python-shell-make-comint("\"d:/usr/Python26/python.exe\" -i" "Python
    #[nil "\30C↓→\307310∟\3111→ \312\216\313\n    \"\211‼)0\202∟ \210\3
    ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
    ert-run-test([cl-struct-ert-test python-shell-make-comint-4 "Check s
    ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test p
    ert-run-tests(t #[385 "\306☻\307\"\203D \211\211G\310U\203¶ \211@\20
    ert-run-tests-batch(nil)
    ert-run-tests-batch-and-exit()
    command-line-1(("-L" ";." "-l" "ert" "-l" "python-tests.elc" "-f" "e
    command-line()
    normal-top-level()
  Test python-shell-make-comint-4 condition:
      (error "No inferior Python process running.")
     FAILED  159/187  python-shell-make-comint-4
  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'
  Test python-shell-prompt-detect-1 backtrace:
    #[nil "\30C↓→\307310∟\3111→ \312\216\313\n    \"\211‼)0\202∟ \210\3
    ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
    ert-run-test([cl-struct-ert-test python-shell-prompt-detect-1 "Check
    ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test p
    ert-run-tests(t #[385 "\306☻\307\"\203D \211\211G\310U\203¶ \211@\20
    ert-run-tests-batch(nil)
    ert-run-tests-batch-and-exit()
    command-line-1(("-L" ";." "-l" "ert" "-l" "python-tests.elc" "-f" "e
    command-line()
    normal-top-level()
  Test python-shell-prompt-detect-1 condition:
      (ert-test-failed
       ((should
	 (equal
	  (python-shell-prompt-detect)
	  '...))
	:form
	(equal nil
	       (">>> " "... " ""))
	:value nil :explanation
	(different-types nil
			 (">>> " "... " ""))))
     FAILED  160/187  python-shell-prompt-detect-1
  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'
  Test python-shell-prompt-detect-2 backtrace:
    #[nil "\30C↓→\307310∟\3111→ \312\216\313\n    \"\211‼)0\202∟ \210\3
    ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
    ert-run-test([cl-struct-ert-test python-shell-prompt-detect-2 "Check
    ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test p
    ert-run-tests(t #[385 "\306☻\307\"\203D \211\211G\310U\203¶ \211@\20
    ert-run-tests-batch(nil)
    ert-run-tests-batch-and-exit()
    command-line-1(("-L" ";." "-l" "ert" "-l" "python-tests.elc" "-f" "e
    command-line()
    normal-top-level()
  Test python-shell-prompt-detect-2 condition:
      (ert-test-failed
       ((should
	 (equal
	  (python-shell-prompt-detect)
	  '...))
	:form
	(equal nil
	       ("py> " "..> " "out "))
	:value nil :explanation
	(different-types nil
			 ("py> " "..> " "out "))))
     FAILED  161/187  python-shell-prompt-detect-2
     passed  162/187  python-shell-prompt-detect-3
  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  163/187  python-shell-prompt-detect-4
     passed  164/187  python-shell-prompt-detect-5
     passed  165/187  python-shell-prompt-detect-6
     passed  166/187  python-shell-prompt-set-calculated-regexps-1
     passed  167/187  python-shell-prompt-set-calculated-regexps-2
     passed  168/187  python-shell-prompt-set-calculated-regexps-3
     passed  169/187  python-shell-prompt-set-calculated-regexps-4
     passed  170/187  python-shell-prompt-set-calculated-regexps-5
  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'
  Test python-shell-prompt-set-calculated-regexps-6 backtrace:
    #[nil "\30C↓→\307310∟\3111→ \312\216\313\n    \"\211‼)0\202∟ \210\3
    ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
    ert-run-test([cl-struct-ert-test python-shell-prompt-set-calculated-
    ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test p
    ert-run-tests(t #[385 "\306☻\307\"\203D \211\211G\310U\203¶ \211@\20
    ert-run-tests-batch(nil)
    ert-run-tests-batch-and-exit()
    command-line-1(("-L" ";." "-l" "ert" "-l" "python-tests.elc" "-f" "e
    command-line()
    normal-top-level()
  Test python-shell-prompt-set-calculated-regexps-6 condition:
      (ert-test-failed
       ((should
	 (string= python-shell--prompt-calculated-input-regexp "^\\(\\.\\.> \\|p\\.> \\|\\)"))
	:form
	(string= "^\\(\\)" "^\\(\\.\\.> \\|p\\.> \\|\\)")
	:value nil))
     FAILED  171/187  python-shell-prompt-set-calculated-regexps-6
     passed  172/187  python-shell-prompt-validate-regexps-1
     passed  173/187  python-shell-prompt-validate-regexps-2
     passed  174/187  python-shell-prompt-validate-regexps-3
     passed  175/187  python-shell-prompt-validate-regexps-4
     passed  176/187  python-shell-prompt-validate-regexps-5
     passed  177/187  python-shell-prompt-validate-regexps-6
     passed  178/187  python-shell-prompt-validate-regexps-7
  Can't guess python-indent-offset, using defaults: 4
     failed  179/187  python-syntax-after-python-backspace
  Can't guess python-indent-offset, using defaults: 4
     passed  180/187  python-tests-look-at-1
  Can't guess python-indent-offset, using defaults: 4
     passed  181/187  python-tests-look-at-2
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
  Can't guess python-indent-offset, using defaults: 4
     passed  182/187  python-triple-quote-pairing
  Can't guess python-indent-offset, using defaults: 4
     passed  183/187  python-util-clone-local-variables-1
  Can't guess python-indent-offset, using defaults: 4
     passed  184/187  python-util-forward-comment-1
  Can't guess python-indent-offset, using defaults: 4
     passed  185/187  python-util-goto-line-1
     passed  186/187  python-util-strip-string-1
     passed  187/187  python-util-valid-regexp-p-1

  Ran 187 tests, 182 results as expected, 5 unexpected (2015-01-31 10:33:09+0200) 4 expected failures

  5 unexpected results:
     FAILED  python-shell-calculate-command-1
     FAILED  python-shell-make-comint-4
     FAILED  python-shell-prompt-detect-1
     FAILED  python-shell-prompt-detect-2
     FAILED  python-shell-prompt-set-calculated-regexps-6

  ERROR: python-tests.log

In GNU Emacs 25.0.50.176 (i686-pc-mingw32)
 of 2015-01-31 on HOME-C4E4A596F7
Repository revision: 376ba20ac1f516361fc9c2b0267fbc5c131e4822
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --prefix=/d/usr --enable-checking=yes,glyphs 'CFLAGS=-O0
 -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1255

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip
eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
dos-w32 ls-lisp disp-table w32-win w32-vars tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
w32notify w32 multi-tty emacs)

Memory information:
((conses 8 78490 5758)
 (symbols 32 18078 0)
 (miscs 32 42 97)
 (strings 16 12687 3756)
 (string-bytes 1 317525)
 (vectors 8 10081)
 (vector-slots 4 392955 2824)
 (floats 8 68 61)
 (intervals 28 239 94)
 (buffers 516 11))