Alexei S <asholomitski...@gmail.com> added the comment: 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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44031> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com