[issue32942] Regression: test_script_helper fails

2018-06-21 Thread STINNER Victor


STINNER Victor  added the comment:

I confirm that I reproduce the issue on Windows when running "python -m test 
test_script_helper -v" from the source code directory, on 3.6, 3.7 and master 
branches.

Using Python 3.6 installed on the system (using python.org installer), the same 
command pass.

--
nosy: +vstinner
versions: +Python 3.6, Python 3.7

___
Python tracker 

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



[issue32942] Regression: test_script_helper fails

2018-05-10 Thread Ethan Smith

Ethan Smith  added the comment:

For reference this is happening with a clean checkout and build of master for 
me, which seems like it shouldn't be the case...

--
nosy: +Ethan Smith

___
Python tracker 

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



[issue32942] Regression: test_script_helper fails

2018-02-24 Thread Andrew Brezovsky

New submission from Andrew Brezovsky :

Test test_script_helper fails, details:

Running Debug|Win32 interpreter...
== CPython 3.8.0a0 (heads/master:6cdb7954b0, Feb 24 2018, 17:25:46) [MSC v.1912 
32 bit (Intel)]
== Windows-10-10.0.16299-SP0 little-endian
== cwd: \cpython\build\test_python_7920
== CPU count: 4
== encodings: locale=cp1252, FS=utf-8
Run tests sequentially
0:00:00 [1/1] test_script_helper
test_assert_python_failure (test.test_script_helper.TestScriptHelper) ... ok
test_assert_python_failure_raises (test.test_script_helper.TestScriptHelper) 
... ok
test_assert_python_isolated_when_env_not_required 
(test.test_script_helper.TestScriptHelper) ... ok
test_assert_python_not_isolated_when_env_is_required 
(test.test_script_helper.TestScriptHelper)
Ensure that -I is not passed when the environment is required. ... ok
test_assert_python_ok (test.test_script_helper.TestScriptHelper) ... ok
test_assert_python_ok_raises (test.test_script_helper.TestScriptHelper) ... ok
test_interpreter_requires_environment_details 
(test.test_script_helper.TestScriptHelperEnvironment) ... FAIL
test_interpreter_requires_environment_false 
(test.test_script_helper.TestScriptHelperEnvironment) ... FAIL
test_interpreter_requires_environment_true 
(test.test_script_helper.TestScriptHelperEnvironment) ... FAIL

==
FAIL: test_interpreter_requires_environment_details 
(test.test_script_helper.TestScriptHelperEnvironment)
--
Traceback (most recent call last):
  File "C:\Users\andor\Documents\Projects\cpython\lib\unittest\mock.py", line 
1191, in patched
return func(*args, **keywargs)
  File 
"C:\Users\andor\Documents\Projects\cpython\lib\test\test_script_helper.py", 
line 101, in test_interpreter_requires_environment_details
self.assertFalse(script_helper.interpreter_requires_environment())
AssertionError: True is not false

==
FAIL: test_interpreter_requires_environment_false 
(test.test_script_helper.TestScriptHelperEnvironment)
--
Traceback (most recent call last):
  File "C:\Users\andor\Documents\Projects\cpython\lib\unittest\mock.py", line 
1191, in patched
return func(*args, **keywargs)
  File 
"C:\Users\andor\Documents\Projects\cpython\lib\test\test_script_helper.py", 
line 95, in test_interpreter_requires_environment_false
self.assertFalse(script_helper.interpreter_requires_environment())
AssertionError: True is not false

==
FAIL: test_interpreter_requires_environment_true 
(test.test_script_helper.TestScriptHelperEnvironment)
--
Traceback (most recent call last):
  File "C:\Users\andor\Documents\Projects\cpython\lib\unittest\mock.py", line 
1191, in patched
return func(*args, **keywargs)
  File 
"C:\Users\andor\Documents\Projects\cpython\lib\test\test_script_helper.py", 
line 89, in test_interpreter_requires_environment_true
self.assertEqual(1, mock_check_call.call_count)
AssertionError: 1 != 0

--
Ran 9 tests in 0.240s

FAILED (failures=3)
test test_script_helper failed
test_script_helper failed

1 test failed:
test_script_helper

Total duration: 281 ms
Tests result: FAILURE

--
components: Tests
messages: 312765
nosy: abrezovsky
priority: normal
severity: normal
status: open
title: Regression: test_script_helper fails
versions: Python 3.8

___
Python tracker 

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