Issue2418
Created on 2015-10-29.16:52:27 by jeff.allen, last changed 2018-03-22.07:33:23 by jeff.allen.
msg10405 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2015-10-29.16:52:27 |
|
This is most likely truncation of the command line passed to the sub-process. The subprocess resource must be enable in regrtest to evoke the relevant test cases.
>dist\bin\jython -m test.regrtest -u subprocess -v test_chdir
test_chdir
...
test_popen (test.test_chdir.SubprocessTestCase) ... File "<string>", line 1
import
^
SyntaxError: mismatched input '\n\n' expecting NAME
ERROR
test_subprocess (test.test_chdir.SubprocessTestCase) ... File "<string>", line 1
import
^
SyntaxError: mismatched input '\n\n' expecting NAME
FAIL
test_system (test.test_chdir.SubprocessTestCase) ... File "<string>", line 1
import
^
SyntaxError: mismatched input '\n\n' expecting NAME
FAIL
...
----------------------------------------------------------------------
Ran 45 tests in 12.215s
FAILED (failures=2, errors=1)
|
msg11799 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2018-03-14.19:09:23 |
|
The extra quotes added here:
https://hg.python.org/jython/file/tip/Lib/test/test_chdir.py#l444
are the problem, presumably since subprocess became more conformant on Windows.
|
|
Date |
User |
Action |
Args |
2018-03-22 07:33:23 | jeff.allen | set | priority: normal |
2018-03-14 19:09:23 | jeff.allen | set | assignee: jeff.allen resolution: accepted messages:
+ msg11799 |
2015-10-29 16:52:27 | jeff.allen | create | |
|