[issue33352] Windows: test_regrtest fails on installed Python

2018-04-27 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

On my system: py -3.n -m test.test_regrtest (or test test_regrtest) fails for n 
in {5, 6, 7}.  2.7 runs, but there are far fewer test methods. Repository 
builds work fine.

--
nosy: +terry.reedy
stage:  -> needs patch
type:  -> behavior
versions: +Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33352] Windows: test_regrtest fails on installed Python

2018-04-25 Thread STINNER Victor

New submission from STINNER Victor :

Failure on Windows 10 with Python 3.7 beta 3:

==
ERROR: test_pcbuild_rt (test.test_regrtest.ProgramsTestCase)
--
Traceback (most recent call last):
  File 
"C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_regrtest.py",
 line 602, in test_pcbuild_rt
self.run_batch(script, *rt_args, *self.regrtest_args, *self.tests)
  File 
"C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_regrtest.py",
 line 577, in run_batch
proc = self.run_command(args)
  File 
"C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_regrtest.py",
 line 475, in run_command
**kw)
  File 
"C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\subprocess.py", 
line 453, in run
with Popen(*popenargs, **kwargs) as process:
  File 
"C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\subprocess.py", 
line 756, in __init__
restore_signals, start_new_session)
  File 
"C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\subprocess.py", 
line 1155, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified


We may just skip the test if the script is not installed.

--
components: Tests, Windows
messages: 315730
nosy: paul.moore, steve.dower, tim.golden, vstinner, zach.ware
priority: normal
severity: normal
status: open
title: Windows: test_regrtest fails on installed Python
versions: Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com