New submission from Andrew Brezovsky <abrezov...@gmail.com>: 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 <rep...@bugs.python.org> <https://bugs.python.org/issue32942> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com