Issue44031
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2021-05-04 11:50 by asholomitskiy84, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Files | ||||
---|---|---|---|---|
File name | Uploaded | Description | Edit | |
log_configure 3.9.2.log | asholomitskiy84, 2021-05-04 11:50 | |||
log_make 3.9.2.log | asholomitskiy84, 2021-05-04 11:50 | |||
log_make_test 3.9.2.log | asholomitskiy84, 2021-05-04 11:51 | |||
log_make_test 3.8.9.log | asholomitskiy84, 2021-05-04 11:52 |
Pull Requests | |||
---|---|---|---|
URL | Status | Linked | Edit |
PR 31014 | merged | iritkatriel, 2022-01-29 19:29 | |
PR 31047 | merged | miss-islington, 2022-02-01 10:32 | |
PR 31048 | merged | miss-islington, 2022-02-01 10:32 |
Messages (16) | |||
---|---|---|---|
msg392880 - (view) | Author: Alexei S (asholomitskiy84) | Date: 2021-05-04 11:50 | |
Python 3.9.2 make test == Tests result: FAILURE then FAILURE == 396 tests OK. 2 tests failed: test_embed test_tabnanny 27 tests skipped: test_bz2 test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_gdb test_idle test_ioctl test_kqueue test_lzma test_msilib test_ossaudiodev test_readline test_smtpnet test_ssl test_startfile test_tcl test_tix test_tk test_ttk_guionly test_ttk_textonly test_turtle test_winconsoleio test_winreg test_winsound test_zipfile64 test_zoneinfo 2 re-run tests: test_embed test_tabnanny Total duration: 10 min 58 sec Tests result: FAILURE then FAILURE make: *** [Makefile:1199: test] Error 2 python 3.8.9 also show compile problems my system: Linux Mint 20.1 Cinnamon (Cinnamon 4.8.6) kernel 5.8.0-48-generic $uname -a Linux home 5.8.0-48-generic #54~20.04.1-Ubuntu SMP Sat Mar 20 13:40:25 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux I tried to execute problem code from tabnanny in PyCharm - that's ok from test.support import (captured_stderr, captured_stdout, script_helper, findfile, unlink) def validate_cmd(self, *args, stdout="", stderr="", partial=False): """Common function to assert the behaviour of command line interface.""" _, out, err = script_helper.assert_python_ok('-m', 'tabnanny', *args) # Note: The `splitlines()` will solve the problem of CRLF(\r) added # by OS Windows. out = out.decode('ascii') err = err.decode('ascii') if partial: for std, output in ((stdout, out), (stderr, err)): _output = output.splitlines() for _std in std.splitlines(): with self.subTest(std=_std, output=_output): self.assertIn(_std, _output) else: self.assertListEqual(out.splitlines(), stdout.splitlines()) self.assertListEqual(err.splitlines(), stderr.splitlines()) def test_command_usage(self): path = findfile('~/Загрузки/Python-3.8.9/Lib/test/tabnanny.py') stderr = f"Usage: {path} [-v] file_or_directory ..." self.validate_cmd(stderr=stderr) |
|||
msg392881 - (view) | Author: Alexei S (asholomitskiy84) | Date: 2021-05-04 11:54 | |
this problem was announced also in 43001 https://bugs.python.org/issue43001?@ok_message=%D0%98%D0%B7%D0%BC%D0%B5%D0%BD%D0%B5%D0%BD%D1%8B%20%D0%B0%D1%82%D1%80%D0%B8%D0%B1%D1%83%D1%82%D1%8B%20%D0%B7%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%B8%D0%B5%20%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%B0%20issue%2043001&@template=item |
|||
msg392961 - (view) | Author: Alexei S (asholomitskiy84) | Date: 2021-05-04 21:49 | |
the same issue also in https://bugs.python.org/issue43583 |
|||
msg394313 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2021-05-25 10:21 | |
Please provide *all* commands that you typed before you got the error. |
|||
msg394351 - (view) | Author: Alexei S (asholomitskiy84) | Date: 2021-05-25 13:43 | |
make test TESTOPTS="-v test_embed test_tabnanny" CC='gcc -pthread' LDSHARED='gcc -pthread -shared ' OPT='-DNDEBUG -g -fwrapv -O3 -Wall' _TCLTK_INCLUDES='' _TCLTK_LIBS='' ./python -E ./setup.py build running build running build_ext The following modules found by detect_modules() in setup.py, have been built by the Makefile instead, as configured by the Setup files: _abc atexit pwd time running build_scripts copying and adjusting /home/alexei/Загрузки/Python-3.9.4/Tools/scripts/pydoc3 -> build/scripts-3.9 copying and adjusting /home/alexei/Загрузки/Python-3.9.4/Tools/scripts/idle3 -> build/scripts-3.9 copying and adjusting /home/alexei/Загрузки/Python-3.9.4/Tools/scripts/2to3 -> build/scripts-3.9 changing mode of build/scripts-3.9/pydoc3 from 664 to 775 changing mode of build/scripts-3.9/idle3 from 664 to 775 changing mode of build/scripts-3.9/2to3 from 664 to 775 renaming build/scripts-3.9/pydoc3 to build/scripts-3.9/pydoc3.9 renaming build/scripts-3.9/idle3 to build/scripts-3.9/idle3.9 renaming build/scripts-3.9/2to3 to build/scripts-3.9/2to3-3.9 ./python -E -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platform(), *sys.version_info[:2]))' >platform ./python ./Tools/scripts/run_tests.py -v test_embed test_tabnanny /home/alexei/Загрузки/Python-3.9.4/python -u -W default -bb -E -m test -r -w -j 0 -u all,-largefile,-audio,-gui -v test_embed test_tabnanny == CPython 3.9.4 (default, May 25 2021, 18:48:10) [GCC 9.3.0] == Linux-5.8.0-48-generic-x86_64-with-glibc2.31 little-endian == cwd: /home/alexei/Загрузки/Python-3.9.4/build/test_python_58488æ == CPU count: 4 == encodings: locale=UTF-8, FS=utf-8 Using random seed 464094 0:00:00 load avg: 0.41 Run tests in parallel using 6 child processes 0:00:01 load avg: 0.53 [1/2/1] test_tabnanny failed test_correct_directory (test.test_tabnanny.TestCheck) Directory which contains few error free python source code files. ... ok test_correct_directory_verbose (test.test_tabnanny.TestCheck) Directory containing few error free python source code files. ... ok test_correct_file (test.test_tabnanny.TestCheck) A python source code file without any errors. ... ok test_errored_directory (test.test_tabnanny.TestCheck) Directory containing wrongly indented python source code files. ... ok test_when_nannynag_error (test.test_tabnanny.TestCheck) A python source code file eligible for raising `tabnanny.NannyNag`. ... ok test_when_nannynag_error_verbose (test.test_tabnanny.TestCheck) A python source code file eligible for raising `tabnanny.NannyNag`. ... ok test_when_no_file (test.test_tabnanny.TestCheck) A python file which does not exist actually in system. ... ok test_when_tokenize_tokenerror (test.test_tabnanny.TestCheck) A python source code file eligible for raising 'tokenize.TokenError'. ... ok test_when_wrong_indented (test.test_tabnanny.TestCheck) A python source code file eligible for raising `IndentationError`. ... ok test_command_usage (test.test_tabnanny.TestCommandLine) Should display usage on no arguments. ... ERROR test_double_verbose_mode (test.test_tabnanny.TestCommandLine) Should display detailed error information if double verbose is on. ... ok test_quiet_flag (test.test_tabnanny.TestCommandLine) Should display less when quite mode is on. ... ok test_verbose_mode (test.test_tabnanny.TestCommandLine) Should display more error information if verbose mode is on. ... ok test_with_error_free_file (test.test_tabnanny.TestCommandLine) Should not display anything if python file is correctly indented. ... ok test_with_errored_file (test.test_tabnanny.TestCommandLine) Should displays error when errored python file is given. ... ok test_errprint (test.test_tabnanny.TestErrPrint) Asserting result of `tabnanny.errprint()` by giving sample inputs. ... ok test_format_witnesses (test.test_tabnanny.TestFormatWitnesses) Asserting formatter result by giving various input samples. ... ok test_all_methods (test.test_tabnanny.TestNannyNag) Asserting behaviour of `tabnanny.NannyNag` exception. ... ok test_with_correct_code (test.test_tabnanny.TestProcessTokens) A python source code without any whitespace related problems. ... ok test_with_errored_codes_samples (test.test_tabnanny.TestProcessTokens) A python source code with whitespace related sampled problems. ... ok ====================================================================== ERROR: test_command_usage (test.test_tabnanny.TestCommandLine) Should display usage on no arguments. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_tabnanny.py", line 324, in test_command_usage self.validate_cmd(stderr=stderr) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_tabnanny.py", line 296, in validate_cmd err = err.decode('ascii') UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 20: ordinal not in range(128) ---------------------------------------------------------------------- Ran 20 tests in 0.874s FAILED (errors=1) test test_tabnanny failed 0:00:12 load avg: 0.69 [2/2/2] test_embed failed test_audit (test.test_embed.AuditingTests) ... ok test_audit_run_command (test.test_embed.AuditingTests) ... ok test_audit_run_file (test.test_embed.AuditingTests) ... ok test_audit_run_interactivehook (test.test_embed.AuditingTests) ... ok test_audit_run_startup (test.test_embed.AuditingTests) ... ok test_audit_run_stdin (test.test_embed.AuditingTests) ... ok test_audit_subinterpreter (test.test_embed.AuditingTests) ... ok test_open_code_hook (test.test_embed.AuditingTests) ... ok test_bpo20891 (test.test_embed.EmbeddingTests) bpo-20891: Calling PyGILState_Ensure in a non-Python thread must not ... ok test_forced_io_encoding (test.test_embed.EmbeddingTests) ... ok test_initialize_pymain (test.test_embed.EmbeddingTests) bpo-34008: Calling Py_Main() after Py_Initialize() must not fail. ... ok test_initialize_twice (test.test_embed.EmbeddingTests) bpo-33932: Calling Py_Initialize() twice should do nothing (and not ... ok test_pre_initialization_api (test.test_embed.EmbeddingTests) Checks some key parts of the C-API that need to work before the runtine ... ok test_pre_initialization_sys_options (test.test_embed.EmbeddingTests) Checks that sys.warnoptions and sys._xoptions can be set before the ... ok test_run_main (test.test_embed.EmbeddingTests) ... ok test_subinterps_different_ids (test.test_embed.EmbeddingTests) ... ok test_subinterps_distinct_state (test.test_embed.EmbeddingTests) ... ok test_subinterps_main (test.test_embed.EmbeddingTests) ... ok test_get_argc_argv (test.test_embed.InitConfigTests) ... ok test_global_pathconfig (test.test_embed.InitConfigTests) ... ok test_init_compat_config (test.test_embed.InitConfigTests) ... ok test_init_compat_env (test.test_embed.InitConfigTests) ... ok test_init_default_config (test.test_embed.InitConfigTests) ... ok test_init_dev_mode (test.test_embed.InitConfigTests) ... ok test_init_dont_configure_locale (test.test_embed.InitConfigTests) ... ok test_init_dont_parse_argv (test.test_embed.InitConfigTests) ... ok test_init_env_dev_mode (test.test_embed.InitConfigTests) ... ok test_init_env_dev_mode_alloc (test.test_embed.InitConfigTests) ... ok test_init_from_config (test.test_embed.InitConfigTests) ... ok test_init_global_config (test.test_embed.InitConfigTests) ... ok test_init_isolated_config (test.test_embed.InitConfigTests) ... FAIL test_init_isolated_flag (test.test_embed.InitConfigTests) ... ok test_init_main (test.test_embed.InitConfigTests) ... ok test_init_parse_argv (test.test_embed.InitConfigTests) ... ok test_init_pybuilddir (test.test_embed.InitConfigTests) ... ok test_init_python_config (test.test_embed.InitConfigTests) ... ok test_init_python_env (test.test_embed.InitConfigTests) ... ok test_init_pyvenv_cfg (test.test_embed.InitConfigTests) ... ok test_init_read_set (test.test_embed.InitConfigTests) ... ok test_init_run_main (test.test_embed.InitConfigTests) ... ok test_init_setpath (test.test_embed.InitConfigTests) ... FAIL test_init_setpath_config (test.test_embed.InitConfigTests) ... ok test_init_setpythonhome (test.test_embed.InitConfigTests) ... FAIL test_init_sys_add (test.test_embed.InitConfigTests) ... ok test_init_warnoptions (test.test_embed.InitConfigTests) ... ok test_preinit_compat_config (test.test_embed.InitConfigTests) ... ok test_preinit_dont_parse_argv (test.test_embed.InitConfigTests) ... FAIL test_preinit_isolated1 (test.test_embed.InitConfigTests) ... ok test_preinit_isolated2 (test.test_embed.InitConfigTests) ... ok test_preinit_isolated_config (test.test_embed.InitConfigTests) ... FAIL test_preinit_parse_argv (test.test_embed.InitConfigTests) ... ok test_preinit_python_config (test.test_embed.InitConfigTests) ... ok ====================================================================== FAIL: test_init_isolated_config (test.test_embed.InitConfigTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 940, in test_init_isolated_config self.check_all_configs("test_init_isolated_config", api=API_ISOLATED) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 688, in check_all_configs self.check_config(configs, expected_config) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 617, in check_config self.assertEqual(config, expected) AssertionError: {'_co[349 chars]'], 'xoptions': [], 'warnoptions': [], 'python[1281 chars]: []} != {'_co[349 chars]'], '_orig_argv': [], 'xoptions': [], 'warnopt[929 chars]': 0} {'_config_init': 3, '_init_main': 1, '_install_importlib': 1, '_isolated_interpreter': 0, '_orig_argv': [], '_use_peg_parser': 1, 'argv': [''], 'base_exec_prefix': '/usr/local', - 'base_executable': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/_testembed', + 'base_executable': '/home/alexei/Загрузки/Python-3.9.4/_testembed', 'base_prefix': '/usr/local', 'buffered_stdio': 1, 'bytes_warning': 0, 'check_hash_pycs_mode': 'default', 'configure_c_stdio': 0, 'dev_mode': 0, 'dump_refs': 0, 'exec_prefix': '/usr/local', - 'executable': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/_testembed', + 'executable': '/home/alexei/Загрузки/Python-3.9.4/_testembed', 'faulthandler': 0, 'hash_seed': 0, 'home': None, 'import_time': 0, 'inspect': 0, 'install_signal_handlers': 0, 'interactive': 0, 'isolated': 1, 'malloc_stats': 0, 'module_search_paths': ['/usr/local/lib/python39.zip', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/Lib', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/build/lib.linux-x86_64-3.9'], + '/home/alexei/Загрузки/Python-3.9.4/Lib', + '/home/alexei/Загрузки/Python-3.9.4/build/lib.linux-x86_64-3.9'], 'optimization_level': 0, 'parse_argv': 0, 'parser_debug': 0, 'pathconfig_warnings': 0, 'platlibdir': 'lib', 'prefix': '/usr/local', 'program_name': './_testembed', 'pycache_prefix': None, 'pythonpath_env': None, 'quiet': 0, 'run_command': None, 'run_filename': None, 'run_module': None, 'show_ref_count': 0, 'site_import': 1, 'skip_source_first_line': 0, 'tracemalloc': 0, 'use_environment': 0, 'use_hash_seed': 0, 'user_site_directory': 0, 'verbose': 0, 'warnoptions': [], 'write_bytecode': 1, 'xoptions': []} ====================================================================== FAIL: test_init_setpath (test.test_embed.InitConfigTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 1073, in test_init_setpath self.check_all_configs("test_init_setpath", config, File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 688, in check_all_configs self.check_config(configs, expected_config) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 617, in check_config self.assertEqual(config, expected) AssertionError: {'_co[344 chars]'], 'xoptions': [], 'warnoptions': [], 'python[1007 chars]: []} != {'_co[344 chars]'], '_orig_argv': [], 'xoptions': [], 'warnopt[831 chars]': 0} {'_config_init': 1, '_init_main': 1, '_install_importlib': 1, '_isolated_interpreter': 0, '_orig_argv': [], '_use_peg_parser': 1, 'argv': [''], 'base_exec_prefix': '', 'base_executable': '/usr/bin/python3', 'base_prefix': '', 'buffered_stdio': 1, 'bytes_warning': 0, 'check_hash_pycs_mode': 'default', 'configure_c_stdio': 0, 'dev_mode': 0, 'dump_refs': 0, 'exec_prefix': '', 'executable': '/usr/bin/python3', 'faulthandler': 0, 'hash_seed': 0, 'home': None, 'import_time': 0, 'inspect': 0, 'install_signal_handlers': 1, 'interactive': 0, 'isolated': 0, 'malloc_stats': 0, 'module_search_paths': ['/usr/local/lib/python39.zip', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/Lib', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/build/lib.linux-x86_64-3.9'], + '/home/alexei/Загрузки/Python-3.9.4/Lib', + '/home/alexei/Загрузки/Python-3.9.4/build/lib.linux-x86_64-3.9'], 'optimization_level': 0, 'parse_argv': 0, 'parser_debug': 0, 'pathconfig_warnings': 1, 'platlibdir': 'lib', 'prefix': '', 'program_name': 'python3', 'pycache_prefix': None, 'pythonpath_env': None, 'quiet': 0, 'run_command': None, 'run_filename': None, 'run_module': None, 'show_ref_count': 0, 'site_import': 1, 'skip_source_first_line': 0, 'tracemalloc': 0, 'use_environment': 1, 'use_hash_seed': 0, 'user_site_directory': 1, 'verbose': 0, 'warnoptions': [], 'write_bytecode': 1, 'xoptions': []} ====================================================================== FAIL: test_init_setpythonhome (test.test_embed.InitConfigTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 1181, in test_init_setpythonhome self.check_all_configs("test_init_setpythonhome", config, File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 688, in check_all_configs self.check_config(configs, expected_config) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 617, in check_config self.assertEqual(config, expected) AssertionError: {'_co[344 chars]'], 'xoptions': [], 'warnoptions': [], 'python[2000 chars]: []} != {'_co[344 chars]'], '_orig_argv': [], 'xoptions': [], 'warnopt[1296 chars]': 0} {'_config_init': 1, '_init_main': 1, '_install_importlib': 1, '_isolated_interpreter': 0, '_orig_argv': [], '_use_peg_parser': 1, 'argv': [''], - 'base_exec_prefix': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4', + 'base_exec_prefix': '/home/alexei/Загрузки/Python-3.9.4', 'base_executable': '/usr/bin/python3', - 'base_prefix': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4', + 'base_prefix': '/home/alexei/Загрузки/Python-3.9.4', 'buffered_stdio': 1, 'bytes_warning': 0, 'check_hash_pycs_mode': 'default', 'configure_c_stdio': 0, 'dev_mode': 0, 'dump_refs': 0, - 'exec_prefix': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4', + 'exec_prefix': '/home/alexei/Загрузки/Python-3.9.4', 'executable': '/usr/bin/python3', 'faulthandler': 0, 'hash_seed': 0, - 'home': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4', + 'home': '/home/alexei/Загрузки/Python-3.9.4', 'import_time': 0, 'inspect': 0, 'install_signal_handlers': 1, 'interactive': 0, 'isolated': 0, 'malloc_stats': 0, 'module_search_paths': ['/usr/local/lib/python39.zip', '/home/alexei/Загрузки/Python-3.9.4/Lib', '/home/alexei/Загрузки/Python-3.9.4/build/lib.linux-x86_64-3.9', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/lib/python39.zip', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/lib/python3.9', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/lib/python3.9/lib-dynload'], + '/home/alexei/Загрузки/Python-3.9.4/lib/python39.zip', + '/home/alexei/Загрузки/Python-3.9.4/lib/python3.9', + '/home/alexei/Загрузки/Python-3.9.4/lib/python3.9/lib-dynload'], 'optimization_level': 0, 'parse_argv': 0, 'parser_debug': 0, 'pathconfig_warnings': 1, 'platlibdir': 'lib', - 'prefix': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4', + 'prefix': '/home/alexei/Загрузки/Python-3.9.4', 'program_name': 'python3', 'pycache_prefix': None, 'pythonpath_env': '/usr/local/lib/python39.zip:/home/alexei/Загрузки/Python-3.9.4/Lib:/home/alexei/Загрузки/Python-3.9.4/build/lib.linux-x86_64-3.9', 'quiet': 0, 'run_command': None, 'run_filename': None, 'run_module': None, 'show_ref_count': 0, 'site_import': 1, 'skip_source_first_line': 0, 'tracemalloc': 0, 'use_environment': 1, 'use_hash_seed': 0, 'user_site_directory': 1, 'verbose': 0, 'warnoptions': [], 'write_bytecode': 1, 'xoptions': []} ====================================================================== FAIL: test_preinit_dont_parse_argv (test.test_embed.InitConfigTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 907, in test_preinit_dont_parse_argv self.check_all_configs("test_preinit_dont_parse_argv", config, preconfig, File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 688, in check_all_configs self.check_config(configs, expected_config) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 617, in check_config self.assertEqual(config, expected) AssertionError: {'_co[408 chars]'], 'xoptions': [], 'warnoptions': [], 'python[1342 chars]py']} != {'_co[408 chars]'], '_orig_argv': ['python3', '-E', '-I', '-X'[990 chars]': 0} {'_config_init': 3, '_init_main': 1, '_install_importlib': 1, '_isolated_interpreter': 0, '_orig_argv': ['python3', '-E', '-I', '-X', 'dev', '-X', 'utf8', 'script.py'], '_use_peg_parser': 1, 'argv': ['python3', '-E', '-I', '-X', 'dev', '-X', 'utf8', 'script.py'], 'base_exec_prefix': '/usr/local', - 'base_executable': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/_testembed', + 'base_executable': '/home/alexei/Загрузки/Python-3.9.4/_testembed', 'base_prefix': '/usr/local', 'buffered_stdio': 1, 'bytes_warning': 0, 'check_hash_pycs_mode': 'default', 'configure_c_stdio': 0, 'dev_mode': 0, 'dump_refs': 0, 'exec_prefix': '/usr/local', - 'executable': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/_testembed', + 'executable': '/home/alexei/Загрузки/Python-3.9.4/_testembed', 'faulthandler': 0, 'hash_seed': 0, 'home': None, 'import_time': 0, 'inspect': 0, 'install_signal_handlers': 0, 'interactive': 0, 'isolated': 0, 'malloc_stats': 0, 'module_search_paths': ['/usr/local/lib/python39.zip', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/Lib', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/build/lib.linux-x86_64-3.9'], + '/home/alexei/Загрузки/Python-3.9.4/Lib', + '/home/alexei/Загрузки/Python-3.9.4/build/lib.linux-x86_64-3.9'], 'optimization_level': 0, 'parse_argv': 0, 'parser_debug': 0, 'pathconfig_warnings': 0, 'platlibdir': 'lib', 'prefix': '/usr/local', 'program_name': './_testembed', 'pycache_prefix': None, 'pythonpath_env': None, 'quiet': 0, 'run_command': None, 'run_filename': None, 'run_module': None, 'show_ref_count': 0, 'site_import': 1, 'skip_source_first_line': 0, 'tracemalloc': 0, 'use_environment': 0, 'use_hash_seed': 0, 'user_site_directory': 0, 'verbose': 0, 'warnoptions': [], 'write_bytecode': 1, 'xoptions': []} ====================================================================== FAIL: test_preinit_isolated_config (test.test_embed.InitConfigTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 937, in test_preinit_isolated_config self.check_all_configs("test_preinit_isolated_config", api=API_ISOLATED) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 688, in check_all_configs self.check_config(configs, expected_config) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 617, in check_config self.assertEqual(config, expected) AssertionError: {'_co[349 chars]'], 'xoptions': [], 'warnoptions': [], 'python[1281 chars]: []} != {'_co[349 chars]'], '_orig_argv': [], 'xoptions': [], 'warnopt[929 chars]': 0} {'_config_init': 3, '_init_main': 1, '_install_importlib': 1, '_isolated_interpreter': 0, '_orig_argv': [], '_use_peg_parser': 1, 'argv': [''], 'base_exec_prefix': '/usr/local', - 'base_executable': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/_testembed', + 'base_executable': '/home/alexei/Загрузки/Python-3.9.4/_testembed', 'base_prefix': '/usr/local', 'buffered_stdio': 1, 'bytes_warning': 0, 'check_hash_pycs_mode': 'default', 'configure_c_stdio': 0, 'dev_mode': 0, 'dump_refs': 0, 'exec_prefix': '/usr/local', - 'executable': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/_testembed', + 'executable': '/home/alexei/Загрузки/Python-3.9.4/_testembed', 'faulthandler': 0, 'hash_seed': 0, 'home': None, 'import_time': 0, 'inspect': 0, 'install_signal_handlers': 0, 'interactive': 0, 'isolated': 1, 'malloc_stats': 0, 'module_search_paths': ['/usr/local/lib/python39.zip', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/Lib', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/build/lib.linux-x86_64-3.9'], + '/home/alexei/Загрузки/Python-3.9.4/Lib', + '/home/alexei/Загрузки/Python-3.9.4/build/lib.linux-x86_64-3.9'], 'optimization_level': 0, 'parse_argv': 0, 'parser_debug': 0, 'pathconfig_warnings': 0, 'platlibdir': 'lib', 'prefix': '/usr/local', 'program_name': './_testembed', 'pycache_prefix': None, 'pythonpath_env': None, 'quiet': 0, 'run_command': None, 'run_filename': None, 'run_module': None, 'show_ref_count': 0, 'site_import': 1, 'skip_source_first_line': 0, 'tracemalloc': 0, 'use_environment': 0, 'use_hash_seed': 0, 'user_site_directory': 0, 'verbose': 0, 'warnoptions': [], 'write_bytecode': 1, 'xoptions': []} ---------------------------------------------------------------------- Ran 52 tests in 12.129s FAILED (failures=5) test test_embed failed == Tests result: FAILURE == 2 tests failed: test_embed test_tabnanny 0:00:12 load avg: 0.69 0:00:12 load avg: 0.69 Re-running failed tests in verbose mode 0:00:12 load avg: 0.69 Re-running test_tabnanny in verbose mode test_correct_directory (test.test_tabnanny.TestCheck) Directory which contains few error free python source code files. ... ok test_correct_directory_verbose (test.test_tabnanny.TestCheck) Directory containing few error free python source code files. ... ok test_correct_file (test.test_tabnanny.TestCheck) A python source code file without any errors. ... ok test_errored_directory (test.test_tabnanny.TestCheck) Directory containing wrongly indented python source code files. ... ok test_when_nannynag_error (test.test_tabnanny.TestCheck) A python source code file eligible for raising `tabnanny.NannyNag`. ... ok test_when_nannynag_error_verbose (test.test_tabnanny.TestCheck) A python source code file eligible for raising `tabnanny.NannyNag`. ... ok test_when_no_file (test.test_tabnanny.TestCheck) A python file which does not exist actually in system. ... ok test_when_tokenize_tokenerror (test.test_tabnanny.TestCheck) A python source code file eligible for raising 'tokenize.TokenError'. ... ok test_when_wrong_indented (test.test_tabnanny.TestCheck) A python source code file eligible for raising `IndentationError`. ... ok test_command_usage (test.test_tabnanny.TestCommandLine) Should display usage on no arguments. ... ERROR test_double_verbose_mode (test.test_tabnanny.TestCommandLine) Should display detailed error information if double verbose is on. ... ok test_quiet_flag (test.test_tabnanny.TestCommandLine) Should display less when quite mode is on. ... ok test_verbose_mode (test.test_tabnanny.TestCommandLine) Should display more error information if verbose mode is on. ... ok test_with_error_free_file (test.test_tabnanny.TestCommandLine) Should not display anything if python file is correctly indented. ... ok test_with_errored_file (test.test_tabnanny.TestCommandLine) Should displays error when errored python file is given. ... ok test_errprint (test.test_tabnanny.TestErrPrint) Asserting result of `tabnanny.errprint()` by giving sample inputs. ... ok test_format_witnesses (test.test_tabnanny.TestFormatWitnesses) Asserting formatter result by giving various input samples. ... ok test_all_methods (test.test_tabnanny.TestNannyNag) Asserting behaviour of `tabnanny.NannyNag` exception. ... ok test_with_correct_code (test.test_tabnanny.TestProcessTokens) A python source code without any whitespace related problems. ... ok test_with_errored_codes_samples (test.test_tabnanny.TestProcessTokens) A python source code with whitespace related sampled problems. ... ok ====================================================================== ERROR: test_command_usage (test.test_tabnanny.TestCommandLine) Should display usage on no arguments. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_tabnanny.py", line 324, in test_command_usage self.validate_cmd(stderr=stderr) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_tabnanny.py", line 296, in validate_cmd err = err.decode('ascii') UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 20: ordinal not in range(128) ---------------------------------------------------------------------- Ran 20 tests in 0.864s FAILED (errors=1) test test_tabnanny failed 0:00:13 load avg: 0.69 Re-running test_embed in verbose mode test_audit (test.test_embed.AuditingTests) ... ok test_audit_run_command (test.test_embed.AuditingTests) ... ok test_audit_run_file (test.test_embed.AuditingTests) ... ok test_audit_run_interactivehook (test.test_embed.AuditingTests) ... ok test_audit_run_startup (test.test_embed.AuditingTests) ... ok test_audit_run_stdin (test.test_embed.AuditingTests) ... ok test_audit_subinterpreter (test.test_embed.AuditingTests) ... ok test_open_code_hook (test.test_embed.AuditingTests) ... ok test_bpo20891 (test.test_embed.EmbeddingTests) bpo-20891: Calling PyGILState_Ensure in a non-Python thread must not ... ok test_forced_io_encoding (test.test_embed.EmbeddingTests) ... ok test_initialize_pymain (test.test_embed.EmbeddingTests) bpo-34008: Calling Py_Main() after Py_Initialize() must not fail. ... ok test_initialize_twice (test.test_embed.EmbeddingTests) bpo-33932: Calling Py_Initialize() twice should do nothing (and not ... ok test_pre_initialization_api (test.test_embed.EmbeddingTests) Checks some key parts of the C-API that need to work before the runtine ... ok test_pre_initialization_sys_options (test.test_embed.EmbeddingTests) Checks that sys.warnoptions and sys._xoptions can be set before the ... ok test_run_main (test.test_embed.EmbeddingTests) ... ok test_subinterps_different_ids (test.test_embed.EmbeddingTests) ... ok test_subinterps_distinct_state (test.test_embed.EmbeddingTests) ... ok test_subinterps_main (test.test_embed.EmbeddingTests) ... ok test_get_argc_argv (test.test_embed.InitConfigTests) ... ok test_global_pathconfig (test.test_embed.InitConfigTests) ... ok test_init_compat_config (test.test_embed.InitConfigTests) ... ok test_init_compat_env (test.test_embed.InitConfigTests) ... ok test_init_default_config (test.test_embed.InitConfigTests) ... ok test_init_dev_mode (test.test_embed.InitConfigTests) ... ok test_init_dont_configure_locale (test.test_embed.InitConfigTests) ... ok test_init_dont_parse_argv (test.test_embed.InitConfigTests) ... ok test_init_env_dev_mode (test.test_embed.InitConfigTests) ... ok test_init_env_dev_mode_alloc (test.test_embed.InitConfigTests) ... ok test_init_from_config (test.test_embed.InitConfigTests) ... ok test_init_global_config (test.test_embed.InitConfigTests) ... ok test_init_isolated_config (test.test_embed.InitConfigTests) ... FAIL test_init_isolated_flag (test.test_embed.InitConfigTests) ... ok test_init_main (test.test_embed.InitConfigTests) ... ok test_init_parse_argv (test.test_embed.InitConfigTests) ... ok test_init_pybuilddir (test.test_embed.InitConfigTests) ... ok test_init_python_config (test.test_embed.InitConfigTests) ... ok test_init_python_env (test.test_embed.InitConfigTests) ... ok test_init_pyvenv_cfg (test.test_embed.InitConfigTests) ... ok test_init_read_set (test.test_embed.InitConfigTests) ... ok test_init_run_main (test.test_embed.InitConfigTests) ... ok test_init_setpath (test.test_embed.InitConfigTests) ... FAIL test_init_setpath_config (test.test_embed.InitConfigTests) ... ok test_init_setpythonhome (test.test_embed.InitConfigTests) ... FAIL test_init_sys_add (test.test_embed.InitConfigTests) ... ok test_init_warnoptions (test.test_embed.InitConfigTests) ... ok test_preinit_compat_config (test.test_embed.InitConfigTests) ... ok test_preinit_dont_parse_argv (test.test_embed.InitConfigTests) ... FAIL test_preinit_isolated1 (test.test_embed.InitConfigTests) ... ok test_preinit_isolated2 (test.test_embed.InitConfigTests) ... ok test_preinit_isolated_config (test.test_embed.InitConfigTests) ... FAIL test_preinit_parse_argv (test.test_embed.InitConfigTests) ... ok test_preinit_python_config (test.test_embed.InitConfigTests) ... ok ====================================================================== FAIL: test_init_isolated_config (test.test_embed.InitConfigTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 940, in test_init_isolated_config self.check_all_configs("test_init_isolated_config", api=API_ISOLATED) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 688, in check_all_configs self.check_config(configs, expected_config) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 617, in check_config self.assertEqual(config, expected) AssertionError: {'_co[349 chars]'], 'xoptions': [], 'warnoptions': [], 'python[1281 chars]: []} != {'_co[349 chars]'], '_orig_argv': [], 'xoptions': [], 'warnopt[929 chars]': 0} {'_config_init': 3, '_init_main': 1, '_install_importlib': 1, '_isolated_interpreter': 0, '_orig_argv': [], '_use_peg_parser': 1, 'argv': [''], 'base_exec_prefix': '/usr/local', - 'base_executable': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/_testembed', + 'base_executable': '/home/alexei/Загрузки/Python-3.9.4/_testembed', 'base_prefix': '/usr/local', 'buffered_stdio': 1, 'bytes_warning': 0, 'check_hash_pycs_mode': 'default', 'configure_c_stdio': 0, 'dev_mode': 0, 'dump_refs': 0, 'exec_prefix': '/usr/local', - 'executable': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/_testembed', + 'executable': '/home/alexei/Загрузки/Python-3.9.4/_testembed', 'faulthandler': 0, 'hash_seed': 0, 'home': None, 'import_time': 0, 'inspect': 0, 'install_signal_handlers': 0, 'interactive': 0, 'isolated': 1, 'malloc_stats': 0, 'module_search_paths': ['/usr/local/lib/python39.zip', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/Lib', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/build/lib.linux-x86_64-3.9'], + '/home/alexei/Загрузки/Python-3.9.4/Lib', + '/home/alexei/Загрузки/Python-3.9.4/build/lib.linux-x86_64-3.9'], 'optimization_level': 0, 'parse_argv': 0, 'parser_debug': 0, 'pathconfig_warnings': 0, 'platlibdir': 'lib', 'prefix': '/usr/local', 'program_name': './_testembed', 'pycache_prefix': None, 'pythonpath_env': None, 'quiet': 0, 'run_command': None, 'run_filename': None, 'run_module': None, 'show_ref_count': 0, 'site_import': 1, 'skip_source_first_line': 0, 'tracemalloc': 0, 'use_environment': 0, 'use_hash_seed': 0, 'user_site_directory': 0, 'verbose': 0, 'warnoptions': [], 'write_bytecode': 1, 'xoptions': []} ====================================================================== FAIL: test_init_setpath (test.test_embed.InitConfigTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 1073, in test_init_setpath self.check_all_configs("test_init_setpath", config, File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 688, in check_all_configs self.check_config(configs, expected_config) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 617, in check_config self.assertEqual(config, expected) AssertionError: {'_co[344 chars]'], 'xoptions': [], 'warnoptions': [], 'python[1007 chars]: []} != {'_co[344 chars]'], '_orig_argv': [], 'xoptions': [], 'warnopt[831 chars]': 0} {'_config_init': 1, '_init_main': 1, '_install_importlib': 1, '_isolated_interpreter': 0, '_orig_argv': [], '_use_peg_parser': 1, 'argv': [''], 'base_exec_prefix': '', 'base_executable': '/usr/bin/python3', 'base_prefix': '', 'buffered_stdio': 1, 'bytes_warning': 0, 'check_hash_pycs_mode': 'default', 'configure_c_stdio': 0, 'dev_mode': 0, 'dump_refs': 0, 'exec_prefix': '', 'executable': '/usr/bin/python3', 'faulthandler': 0, 'hash_seed': 0, 'home': None, 'import_time': 0, 'inspect': 0, 'install_signal_handlers': 1, 'interactive': 0, 'isolated': 0, 'malloc_stats': 0, 'module_search_paths': ['/usr/local/lib/python39.zip', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/Lib', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/build/lib.linux-x86_64-3.9'], + '/home/alexei/Загрузки/Python-3.9.4/Lib', + '/home/alexei/Загрузки/Python-3.9.4/build/lib.linux-x86_64-3.9'], 'optimization_level': 0, 'parse_argv': 0, 'parser_debug': 0, 'pathconfig_warnings': 1, 'platlibdir': 'lib', 'prefix': '', 'program_name': 'python3', 'pycache_prefix': None, 'pythonpath_env': None, 'quiet': 0, 'run_command': None, 'run_filename': None, 'run_module': None, 'show_ref_count': 0, 'site_import': 1, 'skip_source_first_line': 0, 'tracemalloc': 0, 'use_environment': 1, 'use_hash_seed': 0, 'user_site_directory': 1, 'verbose': 0, 'warnoptions': [], 'write_bytecode': 1, 'xoptions': []} ====================================================================== FAIL: test_init_setpythonhome (test.test_embed.InitConfigTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 1181, in test_init_setpythonhome self.check_all_configs("test_init_setpythonhome", config, File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 688, in check_all_configs self.check_config(configs, expected_config) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 617, in check_config self.assertEqual(config, expected) AssertionError: {'_co[344 chars]'], 'xoptions': [], 'warnoptions': [], 'python[2000 chars]: []} != {'_co[344 chars]'], '_orig_argv': [], 'xoptions': [], 'warnopt[1296 chars]': 0} {'_config_init': 1, '_init_main': 1, '_install_importlib': 1, '_isolated_interpreter': 0, '_orig_argv': [], '_use_peg_parser': 1, 'argv': [''], - 'base_exec_prefix': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4', + 'base_exec_prefix': '/home/alexei/Загрузки/Python-3.9.4', 'base_executable': '/usr/bin/python3', - 'base_prefix': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4', + 'base_prefix': '/home/alexei/Загрузки/Python-3.9.4', 'buffered_stdio': 1, 'bytes_warning': 0, 'check_hash_pycs_mode': 'default', 'configure_c_stdio': 0, 'dev_mode': 0, 'dump_refs': 0, - 'exec_prefix': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4', + 'exec_prefix': '/home/alexei/Загрузки/Python-3.9.4', 'executable': '/usr/bin/python3', 'faulthandler': 0, 'hash_seed': 0, - 'home': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4', + 'home': '/home/alexei/Загрузки/Python-3.9.4', 'import_time': 0, 'inspect': 0, 'install_signal_handlers': 1, 'interactive': 0, 'isolated': 0, 'malloc_stats': 0, 'module_search_paths': ['/usr/local/lib/python39.zip', '/home/alexei/Загрузки/Python-3.9.4/Lib', '/home/alexei/Загрузки/Python-3.9.4/build/lib.linux-x86_64-3.9', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/lib/python39.zip', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/lib/python3.9', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/lib/python3.9/lib-dynload'], + '/home/alexei/Загрузки/Python-3.9.4/lib/python39.zip', + '/home/alexei/Загрузки/Python-3.9.4/lib/python3.9', + '/home/alexei/Загрузки/Python-3.9.4/lib/python3.9/lib-dynload'], 'optimization_level': 0, 'parse_argv': 0, 'parser_debug': 0, 'pathconfig_warnings': 1, 'platlibdir': 'lib', - 'prefix': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4', + 'prefix': '/home/alexei/Загрузки/Python-3.9.4', 'program_name': 'python3', 'pycache_prefix': None, 'pythonpath_env': '/usr/local/lib/python39.zip:/home/alexei/Загрузки/Python-3.9.4/Lib:/home/alexei/Загрузки/Python-3.9.4/build/lib.linux-x86_64-3.9', 'quiet': 0, 'run_command': None, 'run_filename': None, 'run_module': None, 'show_ref_count': 0, 'site_import': 1, 'skip_source_first_line': 0, 'tracemalloc': 0, 'use_environment': 1, 'use_hash_seed': 0, 'user_site_directory': 1, 'verbose': 0, 'warnoptions': [], 'write_bytecode': 1, 'xoptions': []} ====================================================================== FAIL: test_preinit_dont_parse_argv (test.test_embed.InitConfigTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 907, in test_preinit_dont_parse_argv self.check_all_configs("test_preinit_dont_parse_argv", config, preconfig, File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 688, in check_all_configs self.check_config(configs, expected_config) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 617, in check_config self.assertEqual(config, expected) AssertionError: {'_co[408 chars]'], 'xoptions': [], 'warnoptions': [], 'python[1342 chars]py']} != {'_co[408 chars]'], '_orig_argv': ['python3', '-E', '-I', '-X'[990 chars]': 0} {'_config_init': 3, '_init_main': 1, '_install_importlib': 1, '_isolated_interpreter': 0, '_orig_argv': ['python3', '-E', '-I', '-X', 'dev', '-X', 'utf8', 'script.py'], '_use_peg_parser': 1, 'argv': ['python3', '-E', '-I', '-X', 'dev', '-X', 'utf8', 'script.py'], 'base_exec_prefix': '/usr/local', - 'base_executable': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/_testembed', + 'base_executable': '/home/alexei/Загрузки/Python-3.9.4/_testembed', 'base_prefix': '/usr/local', 'buffered_stdio': 1, 'bytes_warning': 0, 'check_hash_pycs_mode': 'default', 'configure_c_stdio': 0, 'dev_mode': 0, 'dump_refs': 0, 'exec_prefix': '/usr/local', - 'executable': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/_testembed', + 'executable': '/home/alexei/Загрузки/Python-3.9.4/_testembed', 'faulthandler': 0, 'hash_seed': 0, 'home': None, 'import_time': 0, 'inspect': 0, 'install_signal_handlers': 0, 'interactive': 0, 'isolated': 0, 'malloc_stats': 0, 'module_search_paths': ['/usr/local/lib/python39.zip', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/Lib', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/build/lib.linux-x86_64-3.9'], + '/home/alexei/Загрузки/Python-3.9.4/Lib', + '/home/alexei/Загрузки/Python-3.9.4/build/lib.linux-x86_64-3.9'], 'optimization_level': 0, 'parse_argv': 0, 'parser_debug': 0, 'pathconfig_warnings': 0, 'platlibdir': 'lib', 'prefix': '/usr/local', 'program_name': './_testembed', 'pycache_prefix': None, 'pythonpath_env': None, 'quiet': 0, 'run_command': None, 'run_filename': None, 'run_module': None, 'show_ref_count': 0, 'site_import': 1, 'skip_source_first_line': 0, 'tracemalloc': 0, 'use_environment': 0, 'use_hash_seed': 0, 'user_site_directory': 0, 'verbose': 0, 'warnoptions': [], 'write_bytecode': 1, 'xoptions': []} ====================================================================== FAIL: test_preinit_isolated_config (test.test_embed.InitConfigTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 937, in test_preinit_isolated_config self.check_all_configs("test_preinit_isolated_config", api=API_ISOLATED) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 688, in check_all_configs self.check_config(configs, expected_config) File "/home/alexei/Загрузки/Python-3.9.4/Lib/test/test_embed.py", line 617, in check_config self.assertEqual(config, expected) AssertionError: {'_co[349 chars]'], 'xoptions': [], 'warnoptions': [], 'python[1281 chars]: []} != {'_co[349 chars]'], '_orig_argv': [], 'xoptions': [], 'warnopt[929 chars]': 0} {'_config_init': 3, '_init_main': 1, '_install_importlib': 1, '_isolated_interpreter': 0, '_orig_argv': [], '_use_peg_parser': 1, 'argv': [''], 'base_exec_prefix': '/usr/local', - 'base_executable': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/_testembed', + 'base_executable': '/home/alexei/Загрузки/Python-3.9.4/_testembed', 'base_prefix': '/usr/local', 'buffered_stdio': 1, 'bytes_warning': 0, 'check_hash_pycs_mode': 'default', 'configure_c_stdio': 0, 'dev_mode': 0, 'dump_refs': 0, 'exec_prefix': '/usr/local', - 'executable': '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/_testembed', + 'executable': '/home/alexei/Загрузки/Python-3.9.4/_testembed', 'faulthandler': 0, 'hash_seed': 0, 'home': None, 'import_time': 0, 'inspect': 0, 'install_signal_handlers': 0, 'interactive': 0, 'isolated': 1, 'malloc_stats': 0, 'module_search_paths': ['/usr/local/lib/python39.zip', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/Lib', - '/home/alexei/\udcd0\udc97\udcd0\udcb0\udcd0\udcb3\udcd1\udc80\udcd1\udc83\udcd0\udcb7\udcd0\udcba\udcd0\udcb8/Python-3.9.4/build/lib.linux-x86_64-3.9'], + '/home/alexei/Загрузки/Python-3.9.4/Lib', + '/home/alexei/Загрузки/Python-3.9.4/build/lib.linux-x86_64-3.9'], 'optimization_level': 0, 'parse_argv': 0, 'parser_debug': 0, 'pathconfig_warnings': 0, 'platlibdir': 'lib', 'prefix': '/usr/local', 'program_name': './_testembed', 'pycache_prefix': None, 'pythonpath_env': None, 'quiet': 0, 'run_command': None, 'run_filename': None, 'run_module': None, 'show_ref_count': 0, 'site_import': 1, 'skip_source_first_line': 0, 'tracemalloc': 0, 'use_environment': 0, 'use_hash_seed': 0, 'user_site_directory': 0, 'verbose': 0, 'warnoptions': [], 'write_bytecode': 1, 'xoptions': []} ---------------------------------------------------------------------- Ran 52 tests in 12.286s FAILED (failures=5) test test_embed failed 2 tests failed again: test_embed test_tabnanny == Tests result: FAILURE then FAILURE == 2 tests failed: test_embed test_tabnanny 2 re-run tests: test_embed test_tabnanny Total duration: 26.3 sec Tests result: FAILURE then FAILURE make: *** [Makefile:1199: test] Ошибка 2 |
|||
msg394354 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2021-05-25 14:02 | |
> make test TESTOPTS="-v test_embed test_tabnanny" I'm talking about commands *before make test. How did you get the tarball? How did you configure Python? How did you build it? log_configure 3.9.2.log doesn't contain the configure command. log_make 3.9.2.log doesn't contain the make command. |
|||
msg394401 - (view) | Author: Alexei S (asholomitskiy84) | Date: 2021-05-25 21:19 | |
I downloaded tar.gz of Python-3.8.9 and Python-3.9.4 into my ~/Downloads folder (~/Загрузки in Russian) extracted them, after that executed: chmod +x configure CXX=/usr/bin/g++ ./configure --enable-optimizations make -j4 problems the same for both Python versions |
|||
msg394434 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2021-05-26 14:00 | |
Ah, I can reproduce the issue if the Python directory contains Загрузки, like: /home/vstinner/Downloads/Загрузки/Python-3.9.5 |
|||
msg394529 - (view) | Author: Alexei S (asholomitskiy84) | Date: 2021-05-27 10:13 | |
the problem is caused by language?? |
|||
msg394533 - (view) | Author: Alexei S (asholomitskiy84) | Date: 2021-05-27 10:21 | |
yes! the problem was in folder caption! |
|||
msg394536 - (view) | Author: Alexei S (asholomitskiy84) | Date: 2021-05-27 10:31 | |
how we can fix this small problem in next releases of test_embed test_tabnanny? other tests didn't fail |
|||
msg394569 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2021-05-27 17:01 | |
Alexei S: "how we can fix this small problem in next releases of test_embed test_tabnanny? other tests didn't fail" Any for any bug, someone has to investigate why "test_embed and test_tabnanny fails if the current directory is non-ASCII", and then someone has to propose a fix. |
|||
msg412097 - (view) | Author: Irit Katriel (iritkatriel) * ![]() |
Date: 2022-01-29 19:33 | |
test_embed does not fail anymore. |
|||
msg412244 - (view) | Author: Irit Katriel (iritkatriel) * ![]() |
Date: 2022-02-01 10:32 | |
New changeset 108e66b6d23efd0fc2966163ead9434b328c5f17 by Irit Katriel in branch 'main': bpo-44031: fix test_tabnanny failure in non-ascii CWD (GH-31014) https://github.com/python/cpython/commit/108e66b6d23efd0fc2966163ead9434b328c5f17 |
|||
msg412248 - (view) | Author: miss-islington (miss-islington) | Date: 2022-02-01 11:20 | |
New changeset 1dcd77280410e4b3bd7b0680f00a38cea466ebd1 by Miss Islington (bot) in branch '3.10': bpo-44031: fix test_tabnanny failure in non-ascii CWD (GH-31014) https://github.com/python/cpython/commit/1dcd77280410e4b3bd7b0680f00a38cea466ebd1 |
|||
msg412249 - (view) | Author: miss-islington (miss-islington) | Date: 2022-02-01 11:32 | |
New changeset 2e9f77f9d4fc282666ff85051b6e7ade0eed1d4c by Miss Islington (bot) in branch '3.9': [3.9] bpo-44031: fix test_tabnanny failure in non-ascii CWD (GH-31014) (GH-31048) https://github.com/python/cpython/commit/2e9f77f9d4fc282666ff85051b6e7ade0eed1d4c |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:45 | admin | set | github: 88197 |
2022-02-01 11:32:30 | iritkatriel | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
2022-02-01 11:32:07 | miss-islington | set | messages: + msg412249 |
2022-02-01 11:20:19 | miss-islington | set | messages: + msg412248 |
2022-02-01 10:32:20 | miss-islington | set | pull_requests: + pull_request29229 |
2022-02-01 10:32:16 | miss-islington | set | nosy:
+ miss-islington pull_requests: + pull_request29228 |
2022-02-01 10:32:07 | iritkatriel | set | messages: + msg412244 |
2022-01-29 19:33:42 | iritkatriel | set | messages: + msg412097 |
2022-01-29 19:31:09 | iritkatriel | set | type: compile error -> behavior versions: + Python 3.10, Python 3.11, - Python 3.8 |
2022-01-29 19:29:27 | iritkatriel | set | keywords:
+ patch nosy: + iritkatriel pull_requests: + pull_request29193 stage: patch review |
2022-01-29 10:46:40 | iritkatriel | link | issue43583 superseder |
2021-05-27 17:01:33 | vstinner | set | messages: + msg394569 |
2021-05-27 10:31:38 | asholomitskiy84 | set | messages: + msg394536 |
2021-05-27 10:21:24 | asholomitskiy84 | set | messages: + msg394533 |
2021-05-27 10:13:15 | asholomitskiy84 | set | messages: + msg394529 |
2021-05-26 21:19:33 | vstinner | link | issue43001 superseder |
2021-05-26 14:00:20 | vstinner | set | messages:
+ msg394434 title: python3.8.9, python3.9.2 test_embed test_tabnanny failed -> test_embed and test_tabnanny fails if the current directory is non-ASCII |
2021-05-25 21:19:40 | asholomitskiy84 | set | messages: + msg394401 |
2021-05-25 14:02:29 | vstinner | set | messages: + msg394354 |
2021-05-25 13:43:04 | asholomitskiy84 | set | messages: + msg394351 |
2021-05-25 10:21:03 | vstinner | set | messages: + msg394313 |
2021-05-04 21:49:35 | asholomitskiy84 | set | messages: + msg392961 |
2021-05-04 11:54:26 | asholomitskiy84 | set | messages: + msg392881 |
2021-05-04 11:52:17 | asholomitskiy84 | set | files: + log_make_test 3.8.9.log |
2021-05-04 11:51:01 | asholomitskiy84 | set | files: + log_make_test 3.9.2.log |
2021-05-04 11:50:43 | asholomitskiy84 | set | files: + log_make 3.9.2.log |
2021-05-04 11:50:28 | asholomitskiy84 | create |