== CPython 3.8.0a0 (heads/master:81574b80e9, Oct 2 2018, 21:10:33) [GCC 8.2.1 20180831] == Linux-4.15.13-x86_64-linode106-x86_64-with-glibc2.28 little-endian == cwd: /home/yen/Projects/cpython/build/test_python_14440 == CPU count: 1 == encodings: locale=UTF-8, FS=utf-8 Run tests sequentially 0:00:00 load avg: 0.02 [1/2] test_inspect test_decorator_with_lambda (test.test_inspect.TestDecorators) ... ok test_getsource_unwrap (test.test_inspect.TestDecorators) ... ok test_replacing_decorator (test.test_inspect.TestDecorators) ... ok test_wrapped_decorator (test.test_inspect.TestDecorators) ... ok test_cleandoc (test.test_inspect.TestRetrievingSourceCode) ... ok test_finddoc (test.test_inspect.TestRetrievingSourceCode) ... ok test_getclasses (test.test_inspect.TestRetrievingSourceCode) ... ok test_getcomments (test.test_inspect.TestRetrievingSourceCode) ... ok test_getdoc (test.test_inspect.TestRetrievingSourceCode) ... ok test_getdoc_inherited (test.test_inspect.TestRetrievingSourceCode) ... ok test_getfile (test.test_inspect.TestRetrievingSourceCode) ... ok test_getfile_broken_repr (test.test_inspect.TestRetrievingSourceCode) ... ok test_getfile_class_without_module (test.test_inspect.TestRetrievingSourceCode) ... ok test_getframeinfo_get_first_line (test.test_inspect.TestRetrievingSourceCode) ... ok test_getfunctions (test.test_inspect.TestRetrievingSourceCode) ... ok test_getmodule (test.test_inspect.TestRetrievingSourceCode) ... ok test_getmodule_recursion (test.test_inspect.TestRetrievingSourceCode) ... ok test_getsource (test.test_inspect.TestRetrievingSourceCode) ... ok test_getsource_on_code_object (test.test_inspect.TestRetrievingSourceCode) ... ok test_getsourcefile (test.test_inspect.TestRetrievingSourceCode) ... ok test_proceed_with_fake_filename (test.test_inspect.TestRetrievingSourceCode) doctest monkeypatches linecache to enable inspection ... ok test_anonymous (test.test_inspect.TestOneliners) ... ok test_lambda_in_list (test.test_inspect.TestOneliners) ... ok test_manyargs (test.test_inspect.TestOneliners) ... ok test_oneline_lambda (test.test_inspect.TestOneliners) ... ok test_onelinefunc (test.test_inspect.TestOneliners) ... ok test_threeline_lambda (test.test_inspect.TestOneliners) ... ok test_twoline_indented_lambda (test.test_inspect.TestOneliners) ... ok test_twolinefunc (test.test_inspect.TestOneliners) ... ok test_findsource_binary (test.test_inspect.TestBuggyCases) ... ok test_findsource_code_in_linecache (test.test_inspect.TestBuggyCases) ... ok test_findsource_without_filename (test.test_inspect.TestBuggyCases) ... ok test_getsource_on_method (test.test_inspect.TestBuggyCases) ... ok test_method_in_dynamic_class (test.test_inspect.TestBuggyCases) ... ok test_multiline_sig (test.test_inspect.TestBuggyCases) ... ok test_nested_class (test.test_inspect.TestBuggyCases) ... ok test_nested_func (test.test_inspect.TestBuggyCases) ... ok test_one_liner_dedent_non_name (test.test_inspect.TestBuggyCases) ... ok test_one_liner_followed_by_non_name (test.test_inspect.TestBuggyCases) ... ok test_with_comment (test.test_inspect.TestBuggyCases) ... ok test_with_comment_instead_of_docstring (test.test_inspect.TestBuggyCases) ... ok test_abuse_done (test.test_inspect.TestInterpreterStack) ... ok test_frame (test.test_inspect.TestInterpreterStack) ... ok test_previous_frame (test.test_inspect.TestInterpreterStack) ... ok test_stack (test.test_inspect.TestInterpreterStack) ... ok test_trace (test.test_inspect.TestInterpreterStack) ... ok test_argspec_api_ignores_wrapped (test.test_inspect.TestClassesAndFunctions) ... ok test_classify_DynamicClassAttribute (test.test_inspect.TestClassesAndFunctions) ... ok test_classify_VirtualAttribute (test.test_inspect.TestClassesAndFunctions) ... ok test_classify_VirtualAttribute_multi_classes (test.test_inspect.TestClassesAndFunctions) ... ok test_classify_builtin_types (test.test_inspect.TestClassesAndFunctions) ... ok test_classify_class_attrs_with_buggy_dir (test.test_inspect.TestClassesAndFunctions) ... ok test_classify_metaclass_class_attribute (test.test_inspect.TestClassesAndFunctions) ... ok test_classify_newstyle (test.test_inspect.TestClassesAndFunctions) ... ok test_classify_overrides_bool (test.test_inspect.TestClassesAndFunctions) ... ok test_getargspec (test.test_inspect.TestClassesAndFunctions) ... ok test_getargspec_method (test.test_inspect.TestClassesAndFunctions) ... ok test_getfullagrspec_builtin_func (test.test_inspect.TestClassesAndFunctions) ... ok test_getfullagrspec_builtin_func_no_signature (test.test_inspect.TestClassesAndFunctions) ... ok test_getfullargspec (test.test_inspect.TestClassesAndFunctions) ... ok test_getfullargspec_builtin_methods (test.test_inspect.TestClassesAndFunctions) ... ok test_getfullargspec_definition_order_preserved_on_kwonly (test.test_inspect.TestClassesAndFunctions) ... ok test_getfullargspec_signature_annos (test.test_inspect.TestClassesAndFunctions) ... ok test_getfullargspec_signature_attr (test.test_inspect.TestClassesAndFunctions) ... ok test_getmembers_VirtualAttribute (test.test_inspect.TestClassesAndFunctions) ... ok test_getmembers_descriptors (test.test_inspect.TestClassesAndFunctions) ... ok test_getmembers_method (test.test_inspect.TestClassesAndFunctions) ... ok test_getmembers_with_buggy_dir (test.test_inspect.TestClassesAndFunctions) ... ok test_newstyle_mro (test.test_inspect.TestClassesAndFunctions) ... ok test_excluding_predicates (test.test_inspect.TestPredicates) ... ok test_get_slot_members (test.test_inspect.TestPredicates) ... ok test_isabstract (test.test_inspect.TestPredicates) ... ok test_isabstract_during_init_subclass (test.test_inspect.TestPredicates) ... ok test_isawaitable (test.test_inspect.TestPredicates) ... ok test_isclass (test.test_inspect.TestPredicates) ... ok test_iscoroutine (test.test_inspect.TestPredicates) ... ok test_isroutine (test.test_inspect.TestPredicates) ... ok test_errors (test.test_inspect.TestGetcallargsFunctions) ... ok test_keyword_only (test.test_inspect.TestGetcallargsFunctions) ... ok test_multiple_features (test.test_inspect.TestGetcallargsFunctions) ... ok test_plain (test.test_inspect.TestGetcallargsFunctions) ... ok test_varargs (test.test_inspect.TestGetcallargsFunctions) ... ok test_varkw (test.test_inspect.TestGetcallargsFunctions) ... ok test_varkw_only (test.test_inspect.TestGetcallargsFunctions) ... ok test_errors (test.test_inspect.TestGetcallargsMethods) ... ok test_keyword_only (test.test_inspect.TestGetcallargsMethods) ... ok test_multiple_features (test.test_inspect.TestGetcallargsMethods) ... ok test_plain (test.test_inspect.TestGetcallargsMethods) ... ok test_varargs (test.test_inspect.TestGetcallargsMethods) ... ok test_varkw (test.test_inspect.TestGetcallargsMethods) ... ok test_varkw_only (test.test_inspect.TestGetcallargsMethods) ... ok test_errors (test.test_inspect.TestGetcallargsUnboundMethods) ... ok test_keyword_only (test.test_inspect.TestGetcallargsUnboundMethods) ... ok test_multiple_features (test.test_inspect.TestGetcallargsUnboundMethods) ... ok test_plain (test.test_inspect.TestGetcallargsUnboundMethods) ... ok test_varargs (test.test_inspect.TestGetcallargsUnboundMethods) ... ok test_varkw (test.test_inspect.TestGetcallargsUnboundMethods) ... ok test_varkw_only (test.test_inspect.TestGetcallargsUnboundMethods) ... ok test_basic (test.test_inspect.TestGetattrStatic) ... ok test_classAttribute (test.test_inspect.TestGetattrStatic) ... ok test_classVirtualAttribute (test.test_inspect.TestGetattrStatic) ... ok test_class_as_property (test.test_inspect.TestGetattrStatic) ... ok test_custom_object_dict (test.test_inspect.TestGetattrStatic) ... ok test_descriptor (test.test_inspect.TestGetattrStatic) ... ok test_descriptor_raises_AttributeError (test.test_inspect.TestGetattrStatic) ... ok test_dict_as_property (test.test_inspect.TestGetattrStatic) ... ok test_inherited (test.test_inspect.TestGetattrStatic) ... ok test_inherited_classattribute (test.test_inspect.TestGetattrStatic) ... ok test_inherited_slots (test.test_inspect.TestGetattrStatic) ... ok test_instance_attr (test.test_inspect.TestGetattrStatic) ... ok test_metaclass (test.test_inspect.TestGetattrStatic) ... ok test_metaclass_dict_as_property (test.test_inspect.TestGetattrStatic) ... ok test_metaclass_with_descriptor (test.test_inspect.TestGetattrStatic) ... ok test_metaclass_with_metaclass_with_dict_as_property (test.test_inspect.TestGetattrStatic) ... ok test_module (test.test_inspect.TestGetattrStatic) ... ok test_mro_as_property (test.test_inspect.TestGetattrStatic) ... ok test_no_dict_no_slots (test.test_inspect.TestGetattrStatic) ... ok test_no_dict_no_slots_instance_member (test.test_inspect.TestGetattrStatic) ... ok test_property (test.test_inspect.TestGetattrStatic) ... ok test_slots (test.test_inspect.TestGetattrStatic) ... ok test_closed_after_exhaustion (test.test_inspect.TestGetGeneratorState) ... ok test_closed_after_immediate_exception (test.test_inspect.TestGetGeneratorState) ... ok test_created (test.test_inspect.TestGetGeneratorState) ... ok test_easy_debugging (test.test_inspect.TestGetGeneratorState) ... ok test_getgeneratorlocals (test.test_inspect.TestGetGeneratorState) ... ok test_getgeneratorlocals_empty (test.test_inspect.TestGetGeneratorState) ... ok test_getgeneratorlocals_error (test.test_inspect.TestGetGeneratorState) ... ok test_running (test.test_inspect.TestGetGeneratorState) ... ok test_suspended (test.test_inspect.TestGetGeneratorState) ... ok test_class (test.test_inspect.TestNoEOL) ... ok test_signature_definition_order_preserved_on_kwonly (test.test_inspect.TestSignatureObject) ... ok test_signature_equality (test.test_inspect.TestSignatureObject) ... ok test_signature_from_callable_builtin_obj (test.test_inspect.TestSignatureObject) ... ok test_signature_from_callable_python_obj (test.test_inspect.TestSignatureObject) ... ok test_signature_from_functionlike_object (test.test_inspect.TestSignatureObject) ... ok test_signature_functionlike_class (test.test_inspect.TestSignatureObject) ... ok test_signature_hashable (test.test_inspect.TestSignatureObject) ... ok test_signature_immutability (test.test_inspect.TestSignatureObject) ... ok test_signature_object (test.test_inspect.TestSignatureObject) ... ok test_signature_object_pickle (test.test_inspect.TestSignatureObject) ... ok test_signature_on_builtin_class (test.test_inspect.TestSignatureObject) ... ok test_signature_on_builtins (test.test_inspect.TestSignatureObject) ... ok test_signature_on_builtins_no_signature (test.test_inspect.TestSignatureObject) ... ok test_signature_on_callable_objects (test.test_inspect.TestSignatureObject) ... ok test_signature_on_class (test.test_inspect.TestSignatureObject) ... ok test_signature_on_class_without_init (test.test_inspect.TestSignatureObject) ... ok test_signature_on_classmethod (test.test_inspect.TestSignatureObject) ... ok test_signature_on_complex_args (test.test_inspect.TestSignatureObject) ... ok test_signature_on_decorated (test.test_inspect.TestSignatureObject) ... ok test_signature_on_decorated_builtins (test.test_inspect.TestSignatureObject) ... ok test_signature_on_fake_partialmethod (test.test_inspect.TestSignatureObject) ... ok test_signature_on_lambdas (test.test_inspect.TestSignatureObject) ... ok test_signature_on_mangled_parameters (test.test_inspect.TestSignatureObject) ... ok test_signature_on_method (test.test_inspect.TestSignatureObject) ... ok test_signature_on_noarg (test.test_inspect.TestSignatureObject) ... ok test_signature_on_non_function (test.test_inspect.TestSignatureObject) ... ok test_signature_on_partial (test.test_inspect.TestSignatureObject) ... ok test_signature_on_partialmethod (test.test_inspect.TestSignatureObject) ... ok test_signature_on_staticmethod (test.test_inspect.TestSignatureObject) ... ok test_signature_on_wargs (test.test_inspect.TestSignatureObject) ... ok test_signature_on_wkwonly (test.test_inspect.TestSignatureObject) ... ok test_signature_replace_anno (test.test_inspect.TestSignatureObject) ... ok test_signature_str (test.test_inspect.TestSignatureObject) ... ok test_signature_str_positional_only (test.test_inspect.TestSignatureObject) ... ok test_signature_without_self (test.test_inspect.TestSignatureObject) ... ok test_signature_wrapped_bound_method (test.test_inspect.TestSignatureObject) ... ok test_signature_bind_args_and_kwargs (test.test_inspect.TestSignatureBind) ... ok test_signature_bind_args_and_varargs (test.test_inspect.TestSignatureBind) ... ok test_signature_bind_arguments (test.test_inspect.TestSignatureBind) ... ok test_signature_bind_empty (test.test_inspect.TestSignatureBind) ... ok test_signature_bind_implicit_arg (test.test_inspect.TestSignatureBind) ... ok test_signature_bind_just_args (test.test_inspect.TestSignatureBind) ... ok test_signature_bind_just_kwargs (test.test_inspect.TestSignatureBind) ... ok test_signature_bind_kwonly (test.test_inspect.TestSignatureBind) ... ok test_signature_bind_positional_only (test.test_inspect.TestSignatureBind) ... ok test_signature_bind_var (test.test_inspect.TestSignatureBind) ... ok test_signature_bind_vararg_name (test.test_inspect.TestSignatureBind) ... ok test_signature_bind_varargs_order (test.test_inspect.TestSignatureBind) ... ok test_signature_bind_with_self_arg (test.test_inspect.TestSignatureBind) ... ok test_signature_parameter_equality (test.test_inspect.TestParameterObject) ... ok test_signature_parameter_hashable (test.test_inspect.TestParameterObject) ... ok test_signature_parameter_immutability (test.test_inspect.TestParameterObject) ... ok test_signature_parameter_implicit (test.test_inspect.TestParameterObject) ... ok test_signature_parameter_kinds (test.test_inspect.TestParameterObject) ... ok test_signature_parameter_object (test.test_inspect.TestParameterObject) ... ok test_signature_parameter_positional_only (test.test_inspect.TestParameterObject) ... ok test_signature_parameter_replace (test.test_inspect.TestParameterObject) ... ok test_signature_bound_arguments_apply_defaults (test.test_inspect.TestBoundArguments) ... ok test_signature_bound_arguments_equality (test.test_inspect.TestBoundArguments) ... ok test_signature_bound_arguments_pickle (test.test_inspect.TestBoundArguments) ... ok test_signature_bound_arguments_repr (test.test_inspect.TestBoundArguments) ... ok test_signature_bound_arguments_unhashable (test.test_inspect.TestBoundArguments) ... ok test_signature_get_bound_param (test.test_inspect.TestSignaturePrivateHelpers) ... ok test_signature_strip_non_python_syntax (test.test_inspect.TestSignaturePrivateHelpers) ... ok test_builtins_have_signatures (test.test_inspect.TestSignatureDefinitions) ... ok test_custom_descriptors (test.test_inspect.TestIsDataDescriptor) ... ok test_functions (test.test_inspect.TestIsDataDescriptor) ... ok test_property (test.test_inspect.TestIsDataDescriptor) ... ok test_slot (test.test_inspect.TestIsDataDescriptor) ... ok test_builtins_as_dict (test.test_inspect.TestGetClosureVars) ... ok test_builtins_as_module (test.test_inspect.TestGetClosureVars) ... ok test_builtins_fallback (test.test_inspect.TestGetClosureVars) ... ok test_generator_closure (test.test_inspect.TestGetClosureVars) ... ok test_getclosurevars_empty (test.test_inspect.TestGetClosureVars) ... ok test_getclosurevars_error (test.test_inspect.TestGetClosureVars) ... ok test_method_closure (test.test_inspect.TestGetClosureVars) ... ok test_name_resolution (test.test_inspect.TestGetClosureVars) ... ok test_nonlocal_vars (test.test_inspect.TestGetClosureVars) ... ok test_cycle (test.test_inspect.TestUnwrap) ... ok test_recursion_limit (test.test_inspect.TestUnwrap) ... ok test_stop (test.test_inspect.TestUnwrap) ... ok test_unhashable (test.test_inspect.TestUnwrap) ... ok test_unwrap_one (test.test_inspect.TestUnwrap) ... ok test_unwrap_several (test.test_inspect.TestUnwrap) ... ok test_builtins (test.test_inspect.TestMain) ... ok test_custom_getattr (test.test_inspect.TestMain) ... ok test_details (test.test_inspect.TestMain) ... ok test_only_source (test.test_inspect.TestMain) ... ok test_qualname_source (test.test_inspect.TestMain) ... ok test_getsource_reload (test.test_inspect.TestReload) ... ok test_closed_after_exhaustion (test.test_inspect.TestGetCoroutineState) ... ok test_closed_after_immediate_exception (test.test_inspect.TestGetCoroutineState) ... ok test_created (test.test_inspect.TestGetCoroutineState) ... ok test_easy_debugging (test.test_inspect.TestGetCoroutineState) ... ok test_getcoroutinelocals (test.test_inspect.TestGetCoroutineState) ... ok test_suspended (test.test_inspect.TestGetCoroutineState) ... ok test_range_toplevel_frame (test.test_inspect.TestGettingSourceOfToplevelFrames) ... ok test_range_traceback_toplevel_frame (test.test_inspect.TestGettingSourceOfToplevelFrames) ... ok ---------------------------------------------------------------------- Ran 228 tests in 0.572s OK 0:00:00 load avg: 0.02 [2/2] test_site test_addpackage (test.test_site.HelperFunctionsTests) ... ok test_addpackage_import_bad_exec (test.test_site.HelperFunctionsTests) ... ok test_addpackage_import_bad_pth_file (test.test_site.HelperFunctionsTests) ... ok test_addpackage_import_bad_syntax (test.test_site.HelperFunctionsTests) ... ok test_addsitedir (test.test_site.HelperFunctionsTests) ... ok test_get_path (test.test_site.HelperFunctionsTests) ... ok test_getsitepackages (test.test_site.HelperFunctionsTests) ... ok test_getuserbase (test.test_site.HelperFunctionsTests) ... ok test_getusersitepackages (test.test_site.HelperFunctionsTests) ... ok test_init_pathinfo (test.test_site.HelperFunctionsTests) ... ok test_makepath (test.test_site.HelperFunctionsTests) ... ok test_s_option (test.test_site.HelperFunctionsTests) ... ok test_abs_paths (test.test_site.ImportSideEffectTests) ... ok test_abs_paths_cached_None (test.test_site.ImportSideEffectTests) Test for __cached__ is None. ... ERROR test_add_build_dir (test.test_site.ImportSideEffectTests) ... skipped 'test not implemented' test_aliasing_mbcs (test.test_site.ImportSideEffectTests) ... ok test_license_exists_at_url (test.test_site.ImportSideEffectTests) ... skipped "resource 'network' is not enabled" test_no_duplicate_paths (test.test_site.ImportSideEffectTests) ... ok test_setting_copyright (test.test_site.ImportSideEffectTests) ... ok test_setting_help (test.test_site.ImportSideEffectTests) ... ok test_setting_quit (test.test_site.ImportSideEffectTests) ... ok test_sitecustomize_executed (test.test_site.ImportSideEffectTests) ... ok test_startup_imports (test.test_site.StartupImportTests) ... ok test_startup_interactivehook (test.test_site.StartupImportTests) ... ok test_startup_interactivehook_isolated (test.test_site.StartupImportTests) ... ok test_startup_interactivehook_isolated_explicit (test.test_site.StartupImportTests) ... ok test_underpth_file (test.test_site._pthFileTests) ... skipped 'only supported on Windows' test_underpth_nosite_file (test.test_site._pthFileTests) ... skipped 'only supported on Windows' ====================================================================== ERROR: test_abs_paths_cached_None (test.test_site.ImportSideEffectTests) Test for __cached__ is None. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/yen/Projects/cpython/Lib/test/test_site.py", line 400, in test_abs_paths_cached_None site.abs_paths() File "/home/yen/Projects/cpython/Lib/site.py", line 101, in abs_paths for m in set(sys.modules.values()): TypeError: unhashable type: 'dict' ---------------------------------------------------------------------- Ran 28 tests in 0.294s FAILED (errors=1, skipped=4) test_site failed == Tests result: FAILURE == 1 test OK. 1 test failed: test_site Total duration: 1 sec 95 ms Tests result: FAILURE