Skip to content

Instantly share code, notes, and snippets.

@FFY00
Created September 20, 2024 05:01
Show Gist options
  • Save FFY00/280242204b24e7ff43905cfe9e901e06 to your computer and use it in GitHub Desktop.
Save FFY00/280242204b24e7ff43905cfe9e901e06 to your computer and use it in GitHub Desktop.
$ tox -e py313
.pkg: _optional_hooks> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_wheel> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: prepare_metadata_for_build_wheel> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: build_sdist> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
py313: install_package> python -m pip install --no-binary coverage --force-reinstall --no-deps /home/anubis/git/wrapt/.tox/.tmp/package/201/wrapt-1.16.0.tar.gz
py313: commands[0]> python -m coverage run --rcfile /home/anubis/git/wrapt/setup.cfg -m pytest -v /home/anubis/git/wrapt/tests
========================================================================================================================================= test session starts =========================================================================================================================================
platform linux -- Python 3.13.0rc1, pytest-8.3.3, pluggy-1.5.0 -- /home/anubis/git/wrapt/.tox/py313/bin/python
cachedir: .tox/py313/.pytest_cache
rootdir: /home/anubis/git/wrapt
configfile: setup.cfg
collected 438 items
tests/test_adapter.py::TestAdapterAttributes::test_doc_string PASSED [ 0%]
tests/test_adapter.py::TestAdapterAttributes::test_module_name PASSED [ 0%]
tests/test_adapter.py::TestAdapterAttributes::test_object_name PASSED [ 0%]
tests/test_adapter.py::TestAdapterAttributes::test_object_qualname PASSED [ 0%]
tests/test_adapter.py::TestArgumentSpecification::test_argspec PASSED [ 1%]
tests/test_adapter.py::TestArgumentSpecification::test_isinstance PASSED [ 1%]
tests/test_adapter.py::TestArgumentSpecification::test_signature PASSED [ 1%]
tests/test_adapter.py::TestDynamicAdapter::test_adapter_factory PASSED [ 1%]
tests/test_adapter.py::TestDynamicAdapter::test_dynamic_adapter_classmethod PASSED [ 2%]
tests/test_adapter.py::TestDynamicAdapter::test_dynamic_adapter_function PASSED [ 2%]
tests/test_adapter.py::TestDynamicAdapter::test_dynamic_adapter_instancemethod PASSED [ 2%]
tests/test_adapter_py3.py::TestAdapterAttributesWithAnnotations::test_annotations PASSED [ 2%]
tests/test_adapter_py3.py::TestArgumentSpecificationWithAnnotations::test_argspec PASSED [ 2%]
tests/test_adapter_py3.py::TestArgumentSpecificationWithAnnotations::test_isinstance PASSED [ 3%]
tests/test_adapter_py3.py::TestArgumentSpecificationWithAnnotations::test_signature PASSED [ 3%]
tests/test_adapter_py3.py::TestDynamicAdapterWithAnnotations::test_adapter_factory PASSED [ 3%]
tests/test_adapter_py3.py::TestDynamicAdapterWithAnnotations::test_dynamic_adapter_classmethod PASSED [ 3%]
tests/test_adapter_py3.py::TestDynamicAdapterWithAnnotations::test_dynamic_adapter_function PASSED [ 4%]
tests/test_adapter_py3.py::TestDynamicAdapterWithAnnotations::test_dynamic_adapter_instancemethod PASSED [ 4%]
tests/test_adapter_py33.py::TestArgumentSpecification::test_getfullargspec PASSED [ 4%]
tests/test_adapter_py33.py::TestArgumentSpecification::test_signature PASSED [ 4%]
tests/test_arguments.py::TestArguments::test_getcallargs PASSED [ 5%]
tests/test_arguments.py::TestArguments::test_unexpected_unicode_keyword PASSED [ 5%]
tests/test_attribute_wrapper.py::TestAttributeProxy::test_wrap_attribute PASSED [ 5%]
tests/test_callable_object_proxy.py::TestPartialCallableObjectProxy::test_1_keyword_argument PASSED [ 5%]
tests/test_callable_object_proxy.py::TestPartialCallableObjectProxy::test_1_positional_argument PASSED [ 5%]
tests/test_callable_object_proxy.py::TestPartialCallableObjectProxy::test_empty_arguments PASSED [ 6%]
tests/test_callable_object_proxy.py::TestPartialCallableObjectProxy::test_multiple_keyword_arguments PASSED [ 6%]
tests/test_callable_object_proxy.py::TestPartialCallableObjectProxy::test_multiple_positional_arguments PASSED [ 6%]
tests/test_callable_object_proxy.py::TestPartialCallableObjectProxy::test_no_arguments PASSED [ 6%]
tests/test_class.py::TestIntrospection::test_getmembers PASSED [ 7%]
tests/test_class.py::TestInheritance::test_single_inheritance PASSED [ 7%]
tests/test_class_py37.py::TestInheritance::test_multiple_inheritance PASSED [ 7%]
tests/test_class_py37.py::TestInheritance::test_multiple_inheritance_common PASSED [ 7%]
tests/test_class_py37.py::TestInheritance::test_single_inheritance PASSED [ 7%]
tests/test_copy.py::TestObjectCopy::test_copy PASSED [ 8%]
tests/test_copy.py::TestObjectCopy::test_copy_proxy PASSED [ 8%]
tests/test_copy.py::TestObjectCopy::test_deepcopy PASSED [ 8%]
tests/test_copy.py::TestObjectCopy::test_deepcopy_proxy PASSED [ 8%]
tests/test_decorators.py::TestDecorator::test_class_method_as_decorator PASSED [ 9%]
tests/test_decorators.py::TestDecorator::test_class_type_as_decorator PASSED [ 9%]
tests/test_decorators.py::TestDecorator::test_class_type_as_decorator_args PASSED [ 9%]
tests/test_decorators.py::TestDecorator::test_instance_method_as_decorator PASSED [ 9%]
tests/test_decorators.py::TestDecorator::test_no_parameters PASSED [ 10%]
tests/test_descriptors_py36.py::TestObjectDescriptors::test_set_name PASSED [ 10%]
tests/test_formatargspec_py35.py::TestFormatargspec35::test_formatargspec PASSED [ 10%]
tests/test_formatargspec_py38.py::TestFormatargspec38::test_formatargspec PASSED [ 10%]
tests/test_function.py::TestNamingFunction::test_argspec PASSED [ 10%]
tests/test_function.py::TestNamingFunction::test_doc_string PASSED [ 11%]
tests/test_function.py::TestNamingFunction::test_getmembers PASSED [ 11%]
tests/test_function.py::TestNamingFunction::test_isinstance PASSED [ 11%]
tests/test_function.py::TestNamingFunction::test_module_name PASSED [ 11%]
tests/test_function.py::TestNamingFunction::test_object_name PASSED [ 12%]
tests/test_function.py::TestNamingFunction::test_object_qualname PASSED [ 12%]
tests/test_function.py::TestCallingFunction::test_call_function PASSED [ 12%]
tests/test_function_wrapper.py::TestClassInheritence::test_classmethod_type_inheritence PASSED [ 12%]
tests/test_function_wrapper.py::TestClassInheritence::test_function_type_inheritence PASSED [ 13%]
tests/test_function_wrapper.py::TestClassInheritence::test_instancemethod_type_inheritence PASSED [ 13%]
tests/test_function_wrapper.py::TestClassInheritence::test_staticmethod_type_inheritence PASSED [ 13%]
tests/test_function_wrapper.py::TestAttributeAccess::test_classmethod_attributes PASSED [ 13%]
tests/test_function_wrapper.py::TestAttributeAccess::test_classmethod_attributes_external_class PASSED [ 13%]
tests/test_function_wrapper.py::TestAttributeAccess::test_classmethod_attributes_external_instance PASSED [ 14%]
tests/test_function_wrapper.py::TestAttributeAccess::test_function_attributes PASSED [ 14%]
tests/test_function_wrapper.py::TestAttributeAccess::test_instancemethod_attributes PASSED [ 14%]
tests/test_function_wrapper.py::TestAttributeAccess::test_instancemethod_attributes_external_class PASSED [ 14%]
tests/test_function_wrapper.py::TestAttributeAccess::test_instancemethod_attributes_external_instance PASSED [ 15%]
tests/test_function_wrapper.py::TestAttributeAccess::test_staticmethod_attributes PASSED [ 15%]
tests/test_function_wrapper.py::TestAttributeAccess::test_staticmethod_attributes_external_class PASSED [ 15%]
tests/test_function_wrapper.py::TestAttributeAccess::test_staticmethod_attributes_external_instance PASSED [ 15%]
tests/test_function_wrapper.py::TestParentReference::test_class_decorator PASSED [ 15%]
tests/test_function_wrapper.py::TestParentReference::test_classmethod PASSED [ 16%]
tests/test_function_wrapper.py::TestParentReference::test_function_decorator PASSED [ 16%]
tests/test_function_wrapper.py::TestParentReference::test_instancemethod PASSED [ 16%]
tests/test_function_wrapper.py::TestParentReference::test_nested_class_decorator PASSED [ 16%]
tests/test_function_wrapper.py::TestParentReference::test_staticmethod_inner PASSED [ 17%]
tests/test_function_wrapper.py::TestGuardArgument::test_boolean_dynamic_guard_on_decorator PASSED [ 17%]
tests/test_function_wrapper.py::TestGuardArgument::test_boolean_false_guard_on_decorator PASSED [ 17%]
tests/test_function_wrapper.py::TestGuardArgument::test_boolean_true_guard_on_decorator PASSED [ 17%]
tests/test_function_wrapper.py::TestGuardArgument::test_function_guard_on_decorator PASSED [ 18%]
tests/test_function_wrapper.py::TestGuardArgument::test_guard_on_instancemethod PASSED [ 18%]
tests/test_function_wrapper.py::TestDerivedFunctionWrapper::test_override_bound_type PASSED [ 18%]
tests/test_function_wrapper.py::TestFunctionBinding::test_double_binding PASSED [ 18%]
tests/test_function_wrapper.py::TestFunctionBinding::test_re_bind_after_none PASSED [ 18%]
tests/test_function_wrapper.py::TestInvalidWrapper::test_none_for_wrapped PASSED [ 19%]
tests/test_function_wrapper.py::TestInvalidCalling::test_missing_self_via_class PASSED [ 19%]
tests/test_inheritance_py37.py::TestClassInheritance::test_abc_inheritance PASSED [ 19%]
tests/test_inheritance_py37.py::TestClassInheritance::test_basic_inheritance PASSED [ 19%]
tests/test_inheritance_py37.py::TestClassInheritance::test_py_abc_inheritance PASSED [ 20%]
tests/test_inner_classmethod.py::TestNamingInnerClassMethod::test_class_argspec PASSED [ 20%]
tests/test_inner_classmethod.py::TestNamingInnerClassMethod::test_class_doc_string PASSED [ 20%]
tests/test_inner_classmethod.py::TestNamingInnerClassMethod::test_class_isinstance PASSED [ 20%]
tests/test_inner_classmethod.py::TestNamingInnerClassMethod::test_class_module_name PASSED [ 21%]
tests/test_inner_classmethod.py::TestNamingInnerClassMethod::test_class_object_name PASSED [ 21%]
tests/test_inner_classmethod.py::TestNamingInnerClassMethod::test_class_object_qualname PASSED [ 21%]
tests/test_inner_classmethod.py::TestNamingInnerClassMethod::test_instance_argspec PASSED [ 21%]
tests/test_inner_classmethod.py::TestNamingInnerClassMethod::test_instance_doc_string PASSED [ 21%]
tests/test_inner_classmethod.py::TestNamingInnerClassMethod::test_instance_isinstance PASSED [ 22%]
tests/test_inner_classmethod.py::TestNamingInnerClassMethod::test_instance_module_name PASSED [ 22%]
tests/test_inner_classmethod.py::TestNamingInnerClassMethod::test_instance_object_name PASSED [ 22%]
tests/test_inner_classmethod.py::TestNamingInnerClassMethod::test_instance_object_qualname PASSED [ 22%]
tests/test_inner_classmethod.py::TestCallingInnerClassMethod::test_class_call_function PASSED [ 23%]
tests/test_inner_classmethod.py::TestCallingInnerClassMethod::test_class_call_function_nested_decorators PASSED [ 23%]
tests/test_inner_classmethod.py::TestCallingInnerClassMethod::test_class_externally_applied_wrapper PASSED [ 23%]
tests/test_inner_classmethod.py::TestCallingInnerClassMethod::test_class_externally_passed_wrapper PASSED [ 23%]
tests/test_inner_classmethod.py::TestCallingInnerClassMethod::test_instance_call_function PASSED [ 23%]
tests/test_inner_classmethod.py::TestCallingInnerClassMethod::test_instance_call_function_nested_decorators PASSED [ 24%]
tests/test_inner_classmethod.py::TestCallingInnerClassMethod::test_instance_externally_applied_wrapper PASSED [ 24%]
tests/test_inner_classmethod.py::TestCallingInnerClassMethod::test_instance_externally_passed_wrapper PASSED [ 24%]
tests/test_inner_staticmethod.py::TestNamingInnerStaticMethod::test_class_argspec PASSED [ 24%]
tests/test_inner_staticmethod.py::TestNamingInnerStaticMethod::test_class_doc_string PASSED [ 25%]
tests/test_inner_staticmethod.py::TestNamingInnerStaticMethod::test_class_isinstance PASSED [ 25%]
tests/test_inner_staticmethod.py::TestNamingInnerStaticMethod::test_class_module_name PASSED [ 25%]
tests/test_inner_staticmethod.py::TestNamingInnerStaticMethod::test_class_object_name PASSED [ 25%]
tests/test_inner_staticmethod.py::TestNamingInnerStaticMethod::test_class_object_qualname PASSED [ 26%]
tests/test_inner_staticmethod.py::TestNamingInnerStaticMethod::test_instance_argspec PASSED [ 26%]
tests/test_inner_staticmethod.py::TestNamingInnerStaticMethod::test_instance_doc_string PASSED [ 26%]
tests/test_inner_staticmethod.py::TestNamingInnerStaticMethod::test_instance_isinstance PASSED [ 26%]
tests/test_inner_staticmethod.py::TestNamingInnerStaticMethod::test_instance_module_name PASSED [ 26%]
tests/test_inner_staticmethod.py::TestNamingInnerStaticMethod::test_instance_object_name PASSED [ 27%]
tests/test_inner_staticmethod.py::TestNamingInnerStaticMethod::test_instance_object_qualname PASSED [ 27%]
tests/test_inner_staticmethod.py::TestCallingInnerStaticMethod::test_class_call_function PASSED [ 27%]
tests/test_inner_staticmethod.py::TestCallingInnerStaticMethod::test_class_call_function_nested_decorator PASSED [ 27%]
tests/test_inner_staticmethod.py::TestCallingInnerStaticMethod::test_class_externally_applied_wrapper PASSED [ 28%]
tests/test_inner_staticmethod.py::TestCallingInnerStaticMethod::test_instance_call_function PASSED [ 28%]
tests/test_inner_staticmethod.py::TestCallingInnerStaticMethod::test_instance_call_function_nested_decorator PASSED [ 28%]
tests/test_inner_staticmethod.py::TestCallingInnerStaticMethod::test_instance_externally_applied_wrapper PASSED [ 28%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_class_argspec PASSED [ 28%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_class_doc_string PASSED [ 29%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_class_isinstance PASSED [ 29%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_class_module_name PASSED [ 29%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_class_object_name PASSED [ 29%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_class_object_qualname PASSED [ 30%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_getmembers PASSED [ 30%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_instance_argspec PASSED [ 30%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_instance_doc_string PASSED [ 30%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_instance_isinstance PASSED [ 31%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_instance_module_name PASSED [ 31%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_instance_object_name PASSED [ 31%]
tests/test_instancemethod.py::TestNamingInstanceMethodOldStyle::test_instance_object_qualname PASSED [ 31%]
tests/test_instancemethod.py::TestNamingInstanceMethodNewStyle::test_class_argspec PASSED [ 31%]
tests/test_instancemethod.py::TestNamingInstanceMethodNewStyle::test_class_doc_string PASSED [ 32%]
tests/test_instancemethod.py::TestNamingInstanceMethodNewStyle::test_class_isinstance PASSED [ 32%]
tests/test_instancemethod.py::TestNamingInstanceMethodNewStyle::test_class_module_name PASSED [ 32%]
tests/test_instancemethod.py::TestNamingInstanceMethodNewStyle::test_class_object_name PASSED [ 32%]
tests/test_instancemethod.py::TestNamingInstanceMethodNewStyle::test_class_object_qualname PASSED [ 33%]
tests/test_instancemethod.py::TestNamingInstanceMethodNewStyle::test_instance_argspec PASSED [ 33%]
tests/test_instancemethod.py::TestNamingInstanceMethodNewStyle::test_instance_doc_string PASSED [ 33%]
tests/test_instancemethod.py::TestNamingInstanceMethodNewStyle::test_instance_isinstance PASSED [ 33%]
tests/test_instancemethod.py::TestNamingInstanceMethodNewStyle::test_instance_module_name PASSED [ 34%]
tests/test_instancemethod.py::TestNamingInstanceMethodNewStyle::test_instance_object_name PASSED [ 34%]
tests/test_instancemethod.py::TestNamingInstanceMethodNewStyle::test_instance_object_qualname PASSED [ 34%]
tests/test_instancemethod.py::TestCallingInstanceMethodOldStyle::test_class_call_function PASSED [ 34%]
tests/test_instancemethod.py::TestCallingInstanceMethodOldStyle::test_class_call_function_nested PASSED [ 34%]
tests/test_instancemethod.py::TestCallingInstanceMethodOldStyle::test_instance_call_function PASSED [ 35%]
tests/test_instancemethod.py::TestCallingInstanceMethodOldStyle::test_instance_call_function_nested PASSED [ 35%]
tests/test_instancemethod.py::TestCallingInstanceMethodNewStyle::test_class_call_function PASSED [ 35%]
tests/test_instancemethod.py::TestCallingInstanceMethodNewStyle::test_class_call_function_nested PASSED [ 35%]
tests/test_instancemethod.py::TestCallingInstanceMethodNewStyle::test_instance_call_function PASSED [ 36%]
tests/test_instancemethod.py::TestCallingInstanceMethodNewStyle::test_instance_call_function_nested PASSED [ 36%]
tests/test_memoize.py::TestSynchronized::test_classmethod PASSED [ 36%]
tests/test_memoize.py::TestSynchronized::test_function PASSED [ 36%]
tests/test_memoize.py::TestSynchronized::test_instancemethod PASSED [ 36%]
tests/test_memoize.py::TestSynchronized::test_staticmethod PASSED [ 37%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_function_wrapper PASSED [ 37%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_function_wrapper_class_method PASSED [ 37%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_function_wrapper_instance_method PASSED [ 37%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_patch_function_module PASSED [ 38%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_patch_function_module_name PASSED [ 38%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_patch_function_module_name_enabled_callable PASSED [ 38%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_patch_function_module_name_enabled_literal_false PASSED [ 38%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_patch_function_module_name_enabled_literal_true PASSED [ 39%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_transient_function_wrapper PASSED [ 39%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_transient_function_wrapper_instance_method PASSED [ 39%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_wrap_class_method_inherited PASSED [ 39%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_wrap_class_method_module_name PASSED [ 39%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_wrap_function_module PASSED [ 40%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_wrap_function_module_name PASSED [ 40%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_wrap_instance_method_module_name PASSED [ 40%]
tests/test_monkey_patching.py::TestMonkeyPatching::test_wrap_static_method_module_name PASSED [ 40%]
tests/test_monkey_patching.py::TestExplicitMonkeyPatching::test_patch_instance_method_class PASSED [ 41%]
tests/test_monkey_patching.py::TestExplicitMonkeyPatching::test_patch_instance_method_dict PASSED [ 41%]
tests/test_monkey_patching.py::TestExplicitMonkeyPatching::test_patch_instance_method_extracted PASSED [ 41%]
tests/test_monkey_patching.py::TestExplicitMonkeyPatching::test_patch_instance_method_instance PASSED [ 41%]
tests/test_nested_function.py::TestNamingNestedFunction::test_argspec PASSED [ 42%]
tests/test_nested_function.py::TestNamingNestedFunction::test_doc_string PASSED [ 42%]
tests/test_nested_function.py::TestNamingNestedFunction::test_isinstance PASSED [ 42%]
tests/test_nested_function.py::TestNamingNestedFunction::test_module_name PASSED [ 42%]
tests/test_nested_function.py::TestNamingNestedFunction::test_object_name PASSED [ 42%]
tests/test_nested_function.py::TestNamingNestedFunction::test_object_qualname PASSED [ 43%]
tests/test_nested_function.py::TestCallingNestedFunction::test_call_function PASSED [ 43%]
tests/test_object_proxy.py::TestAttributeAccess::test_attribute_lookup_attribute_exception PASSED [ 43%]
tests/test_object_proxy.py::TestAttributeAccess::test_attribute_lookup_modified PASSED [ 43%]
tests/test_object_proxy.py::TestAttributeAccess::test_attribute_lookup_value_exception PASSED [ 44%]
tests/test_object_proxy.py::TestAttributeAccess::test_attributes PASSED [ 44%]
tests/test_object_proxy.py::TestAttributeAccess::test_delete_wrapped PASSED [ 44%]
tests/test_object_proxy.py::TestAttributeAccess::test_get_wrapped PASSED [ 44%]
tests/test_object_proxy.py::TestAttributeAccess::test_init_not_called PASSED [ 44%]
tests/test_object_proxy.py::TestAttributeAccess::test_proxy_attribute PASSED [ 45%]
tests/test_object_proxy.py::TestAttributeAccess::test_set_wrapped PASSED [ 45%]
tests/test_object_proxy.py::TestAttributeAccess::test_wrapped_attribute PASSED [ 45%]
tests/test_object_proxy.py::TestNamingObjectProxy::test_class_doc_string PASSED [ 45%]
tests/test_object_proxy.py::TestNamingObjectProxy::test_class_module_name PASSED [ 46%]
tests/test_object_proxy.py::TestNamingObjectProxy::test_class_object_name PASSED [ 46%]
tests/test_object_proxy.py::TestNamingObjectProxy::test_class_object_qualname PASSED [ 46%]
tests/test_object_proxy.py::TestNamingObjectProxy::test_function_doc_string PASSED [ 46%]
tests/test_object_proxy.py::TestNamingObjectProxy::test_function_module_name PASSED [ 47%]
tests/test_object_proxy.py::TestNamingObjectProxy::test_function_object_name PASSED [ 47%]
tests/test_object_proxy.py::TestNamingObjectProxy::test_function_object_qualname PASSED [ 47%]
tests/test_object_proxy.py::TestNamingObjectProxy::test_instance_doc_string PASSED [ 47%]
tests/test_object_proxy.py::TestNamingObjectProxy::test_instance_module_name PASSED [ 47%]
tests/test_object_proxy.py::TestTypeObjectProxy::test_class_of_class PASSED [ 48%]
tests/test_object_proxy.py::TestTypeObjectProxy::test_class_of_function PASSED [ 48%]
tests/test_object_proxy.py::TestTypeObjectProxy::test_class_of_instance PASSED [ 48%]
tests/test_object_proxy.py::TestDirObjectProxy::test_dir_of_class PASSED [ 48%]
tests/test_object_proxy.py::TestDirObjectProxy::test_dir_of_function PASSED [ 49%]
tests/test_object_proxy.py::TestDirObjectProxy::test_dir_of_instance PASSED [ 49%]
tests/test_object_proxy.py::TestDirObjectProxy::test_vars_of_class PASSED [ 49%]
tests/test_object_proxy.py::TestDirObjectProxy::test_vars_of_function PASSED [ 49%]
tests/test_object_proxy.py::TestDirObjectProxy::test_vars_of_instance PASSED [ 50%]
tests/test_object_proxy.py::TestCallingObject::test_classmethod_args PASSED [ 50%]
tests/test_object_proxy.py::TestCallingObject::test_classmethod_args_plus_kwargs PASSED [ 50%]
tests/test_object_proxy.py::TestCallingObject::test_classmethod_kwargs PASSED [ 50%]
tests/test_object_proxy.py::TestCallingObject::test_classmethod_no_args PASSED [ 50%]
tests/test_object_proxy.py::TestCallingObject::test_classmethod_via_class_args PASSED [ 51%]
tests/test_object_proxy.py::TestCallingObject::test_classmethod_via_class_args_plus_kwargs PASSED [ 51%]
tests/test_object_proxy.py::TestCallingObject::test_classmethod_via_class_kwargs PASSED [ 51%]
tests/test_object_proxy.py::TestCallingObject::test_classmethod_via_class_no_args PASSED [ 51%]
tests/test_object_proxy.py::TestCallingObject::test_function_args PASSED [ 52%]
tests/test_object_proxy.py::TestCallingObject::test_function_args_plus_kwargs PASSED [ 52%]
tests/test_object_proxy.py::TestCallingObject::test_function_kwargs PASSED [ 52%]
tests/test_object_proxy.py::TestCallingObject::test_function_no_args PASSED [ 52%]
tests/test_object_proxy.py::TestCallingObject::test_instancemethod_args PASSED [ 52%]
tests/test_object_proxy.py::TestCallingObject::test_instancemethod_args_plus_kwargs PASSED [ 53%]
tests/test_object_proxy.py::TestCallingObject::test_instancemethod_kwargs PASSED [ 53%]
tests/test_object_proxy.py::TestCallingObject::test_instancemethod_no_args PASSED [ 53%]
tests/test_object_proxy.py::TestCallingObject::test_instancemethod_via_class_args PASSED [ 53%]
tests/test_object_proxy.py::TestCallingObject::test_instancemethod_via_class_args_plus_kwargs PASSED [ 54%]
tests/test_object_proxy.py::TestCallingObject::test_instancemethod_via_class_kwargs PASSED [ 54%]
tests/test_object_proxy.py::TestCallingObject::test_instancemethod_via_class_no_args PASSED [ 54%]
tests/test_object_proxy.py::TestCallingObject::test_staticmethod_args PASSED [ 54%]
tests/test_object_proxy.py::TestCallingObject::test_staticmethod_args_plus_kwargs PASSED [ 55%]
tests/test_object_proxy.py::TestCallingObject::test_staticmethod_kwargs PASSED [ 55%]
tests/test_object_proxy.py::TestCallingObject::test_staticmethod_no_args PASSED [ 55%]
tests/test_object_proxy.py::TestCallingObject::test_staticmethod_via_class_args PASSED [ 55%]
tests/test_object_proxy.py::TestCallingObject::test_staticmethod_via_class_args_plus_kwargs PASSED [ 55%]
tests/test_object_proxy.py::TestCallingObject::test_staticmethod_via_class_kwargs PASSED [ 56%]
tests/test_object_proxy.py::TestCallingObject::test_staticmethod_via_class_no_args PASSED [ 56%]
tests/test_object_proxy.py::TestIterObjectProxy::test_iteration PASSED [ 56%]
tests/test_object_proxy.py::TestContextManagerObjectProxy::test_context_manager PASSED [ 56%]
tests/test_object_proxy.py::TestEqualityObjectProxy::test_comparison PASSED [ 57%]
tests/test_object_proxy.py::TestEqualityObjectProxy::test_mapping_key PASSED [ 57%]
tests/test_object_proxy.py::TestEqualityObjectProxy::test_object_hash PASSED [ 57%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_abs PASSED [ 57%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_add PASSED [ 57%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_add_uninitialized_args PASSED [ 58%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_and PASSED [ 58%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_and_uninitialized_args PASSED [ 58%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_div PASSED [ 58%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_div_uninitialized_args PASSED [ 59%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_divmod PASSED [ 59%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_divmod_uninitialized_args PASSED [ 59%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_float PASSED [ 59%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_floordiv PASSED [ 60%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_floordiv_uninitialized_args PASSED [ 60%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_hex PASSED [ 60%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_iadd PASSED [ 60%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_iand PASSED [ 60%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_idiv PASSED [ 61%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_ifloordiv PASSED [ 61%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_ilshift PASSED [ 61%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_imod PASSED [ 61%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_imul PASSED [ 62%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_index PASSED [ 62%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_int PASSED [ 62%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_invert PASSED [ 62%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_ior PASSED [ 63%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_ior_list_self PASSED [ 63%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_ipow PASSED [ 63%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_irshift PASSED [ 63%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_isub PASSED [ 63%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_ixor PASSED [ 64%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_lshift PASSED [ 64%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_lshift_uninitialized_args PASSED [ 64%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_mod PASSED [ 64%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_mod_uninitialized_args PASSED [ 65%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_mul PASSED [ 65%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_mul_uninitialized_args PASSED [ 65%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_neg PASSED [ 65%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_nonzero PASSED [ 65%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_oct PASSED [ 66%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_or PASSED [ 66%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_or_uninitialized_args PASSED [ 66%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_pos PASSED [ 66%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_pow PASSED [ 67%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_pow_uninitialized_args PASSED [ 67%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_rshift PASSED [ 67%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_rshift_uninitialized_args PASSED [ 67%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_sub PASSED [ 68%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_sub_uninitialized_args PASSED [ 68%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_xor PASSED [ 68%]
tests/test_object_proxy.py::TestAsNumberObjectProxy::test_xor_uninitialized_args PASSED [ 68%]
tests/test_object_proxy.py::TestAsSequenceObjectProxy::test_contains PASSED [ 68%]
tests/test_object_proxy.py::TestAsSequenceObjectProxy::test_delitem PASSED [ 69%]
tests/test_object_proxy.py::TestAsSequenceObjectProxy::test_delslice PASSED [ 69%]
tests/test_object_proxy.py::TestAsSequenceObjectProxy::test_getitem PASSED [ 69%]
tests/test_object_proxy.py::TestAsSequenceObjectProxy::test_getslice PASSED [ 69%]
tests/test_object_proxy.py::TestAsSequenceObjectProxy::test_length PASSED [ 70%]
tests/test_object_proxy.py::TestAsSequenceObjectProxy::test_setitem PASSED [ 70%]
tests/test_object_proxy.py::TestAsSequenceObjectProxy::test_setslice PASSED [ 70%]
tests/test_object_proxy.py::TestAsMappingObjectProxy::test_contains PASSED [ 70%]
tests/test_object_proxy.py::TestAsMappingObjectProxy::test_delitem PASSED [ 71%]
tests/test_object_proxy.py::TestAsMappingObjectProxy::test_getitem PASSED [ 71%]
tests/test_object_proxy.py::TestAsMappingObjectProxy::test_length PASSED [ 71%]
tests/test_object_proxy.py::TestAsMappingObjectProxy::test_setitem PASSED [ 71%]
tests/test_object_proxy.py::TestObjectRepresentationObjectProxy::test_repr PASSED [ 71%]
tests/test_object_proxy.py::TestObjectRepresentationObjectProxy::test_str PASSED [ 72%]
tests/test_object_proxy.py::TestDerivedClassCreation::test_derived_missing_init PASSED [ 72%]
tests/test_object_proxy.py::TestDerivedClassCreation::test_derived_new PASSED [ 72%]
tests/test_object_proxy.py::TestDerivedClassCreation::test_derived_setattr PASSED [ 72%]
tests/test_object_proxy.py::DerivedClassAttributes::test_class_properties PASSED [ 73%]
tests/test_object_proxy.py::DerivedClassAttributes::test_override_class_attributes PASSED [ 73%]
tests/test_object_proxy.py::DerivedClassAttributes::test_setup_class_attributes PASSED [ 73%]
tests/test_object_proxy.py::OverrideAttributeAccess::test_attr_functions PASSED [ 73%]
tests/test_object_proxy.py::OverrideAttributeAccess::test_override_getattr PASSED [ 73%]
tests/test_object_proxy.py::CallableFunction::test_callable_proxy_getattr_call PASSED [ 74%]
tests/test_object_proxy.py::CallableFunction::test_callable_proxy_hasattr_call PASSED [ 74%]
tests/test_object_proxy.py::CallableFunction::test_callable_proxy_is_callable PASSED [ 74%]
tests/test_object_proxy.py::CallableFunction::test_proxy_getattr_call PASSED [ 74%]
tests/test_object_proxy.py::CallableFunction::test_proxy_hasattr_call PASSED [ 75%]
tests/test_object_proxy.py::CallableFunction::test_proxy_is_callable PASSED [ 75%]
tests/test_object_proxy.py::SpecialMethods::test_class_bytes PASSED [ 75%]
tests/test_object_proxy.py::SpecialMethods::test_complex PASSED [ 75%]
tests/test_object_proxy.py::SpecialMethods::test_decimal_complex PASSED [ 76%]
tests/test_object_proxy.py::SpecialMethods::test_fractions_round PASSED [ 76%]
tests/test_object_proxy.py::SpecialMethods::test_list_reversed PASSED [ 76%]
tests/test_object_proxy.py::SpecialMethods::test_str_format PASSED [ 76%]
tests/test_object_proxy.py::TestArgumentUnpacking::test_self_keyword_argument_on_class_init_1 PASSED [ 76%]
tests/test_object_proxy.py::TestArgumentUnpacking::test_self_keyword_argument_on_class_init_2 PASSED [ 77%]
tests/test_object_proxy.py::TestArgumentUnpacking::test_self_keyword_argument_on_class_init_overloaded_1 PASSED [ 77%]
tests/test_object_proxy.py::TestArgumentUnpacking::test_self_keyword_argument_on_class_init_overloaded_2 PASSED [ 77%]
tests/test_object_proxy.py::TestArgumentUnpacking::test_self_keyword_argument_on_class_init_renamed PASSED [ 77%]
tests/test_object_proxy.py::TestArgumentUnpacking::test_self_keyword_argument_on_dict PASSED [ 78%]
tests/test_object_proxy.py::TestArgumentUnpacking::test_self_positional_argument_on_class_init PASSED [ 78%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_keyword_argument_on_class_init_1a PASSED [ 78%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_keyword_argument_on_class_init_1b PASSED [ 78%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_keyword_argument_on_class_init_2a PASSED [ 78%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_keyword_argument_on_class_init_2b PASSED [ 79%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_keyword_argument_on_class_init_overloaded_1a PASSED [ 79%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_keyword_argument_on_class_init_overloaded_1b PASSED [ 79%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_keyword_argument_on_class_init_overloaded_2a PASSED [ 79%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_keyword_argument_on_class_init_overloaded_2b PASSED [ 80%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_keyword_argument_on_class_init_renamed_1 PASSED [ 80%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_keyword_argument_on_class_init_renamed_2 PASSED [ 80%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_keyword_argument_on_dict_1 PASSED [ 80%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_keyword_argument_on_dict_2 PASSED [ 81%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_positional_argument_on_class_init_1 PASSED [ 81%]
tests/test_object_proxy.py::TestArgumentUnpackingPartial::test_self_positional_argument_on_class_init_2 PASSED [ 81%]
tests/test_object_proxy.py::TestArgumentUnpackingWrapperBase::test_self_keyword_argument_on_class_init_1 PASSED [ 81%]
tests/test_object_proxy.py::TestArgumentUnpackingWrapperBase::test_self_keyword_argument_on_class_init_2 PASSED [ 81%]
tests/test_object_proxy.py::TestArgumentUnpackingWrapperBase::test_self_keyword_argument_on_class_init_overloaded_1 PASSED [ 82%]
tests/test_object_proxy.py::TestArgumentUnpackingWrapperBase::test_self_keyword_argument_on_class_init_overloaded_2 PASSED [ 82%]
tests/test_object_proxy.py::TestArgumentUnpackingWrapperBase::test_self_keyword_argument_on_class_init_renamed PASSED [ 82%]
tests/test_object_proxy.py::TestArgumentUnpackingWrapperBase::test_self_keyword_argument_on_dict PASSED [ 82%]
tests/test_object_proxy.py::TestArgumentUnpackingWrapperBase::test_self_positional_argument_on_class_init PASSED [ 83%]
tests/test_object_proxy.py::TestArgumentUnpackingBoundFunctionWrapper::test_self_keyword_argument_on_classmethod PASSED [ 83%]
tests/test_object_proxy.py::TestArgumentUnpackingBoundFunctionWrapper::test_self_keyword_argument_on_instancemethod PASSED [ 83%]
tests/test_object_proxy.py::TestArgumentUnpackingDecorator::test_self_keyword_argument_on_classmethod PASSED [ 83%]
tests/test_object_proxy.py::TestArgumentUnpackingDecorator::test_self_keyword_argument_on_function PASSED [ 84%]
tests/test_object_proxy.py::TestArgumentUnpackingDecorator::test_self_keyword_argument_on_instancemethod PASSED [ 84%]
tests/test_object_proxy.py::TestOverridingSpecialAttributes::test_overriding_class_attribute PASSED [ 84%]
tests/test_outer_classmethod.py::TestNamingOuterClassMethod::test_class_argspec PASSED [ 84%]
tests/test_outer_classmethod.py::TestNamingOuterClassMethod::test_class_doc_string PASSED [ 84%]
tests/test_outer_classmethod.py::TestNamingOuterClassMethod::test_class_isinstance PASSED [ 85%]
tests/test_outer_classmethod.py::TestNamingOuterClassMethod::test_class_module_name PASSED [ 85%]
tests/test_outer_classmethod.py::TestNamingOuterClassMethod::test_class_object_name PASSED [ 85%]
tests/test_outer_classmethod.py::TestNamingOuterClassMethod::test_class_object_qualname PASSED [ 85%]
tests/test_outer_classmethod.py::TestNamingOuterClassMethod::test_instance_argspec PASSED [ 86%]
tests/test_outer_classmethod.py::TestNamingOuterClassMethod::test_instance_doc_string PASSED [ 86%]
tests/test_outer_classmethod.py::TestNamingOuterClassMethod::test_instance_isinstance PASSED [ 86%]
tests/test_outer_classmethod.py::TestNamingOuterClassMethod::test_instance_module_name PASSED [ 86%]
tests/test_outer_classmethod.py::TestNamingOuterClassMethod::test_instance_object_name PASSED [ 86%]
tests/test_outer_classmethod.py::TestNamingOuterClassMethod::test_instance_object_qualname PASSED [ 87%]
tests/test_outer_classmethod.py::TestCallingOuterClassMethod::test_class_call_function PASSED [ 87%]
tests/test_outer_classmethod.py::TestCallingOuterClassMethod::test_instance_call_function PASSED [ 87%]
tests/test_outer_staticmethod.py::TestNamingOuterStaticMethod::test_class_argspec PASSED [ 87%]
tests/test_outer_staticmethod.py::TestNamingOuterStaticMethod::test_class_doc_string PASSED [ 88%]
tests/test_outer_staticmethod.py::TestNamingOuterStaticMethod::test_class_isinstance PASSED [ 88%]
tests/test_outer_staticmethod.py::TestNamingOuterStaticMethod::test_class_module_name PASSED [ 88%]
tests/test_outer_staticmethod.py::TestNamingOuterStaticMethod::test_class_object_name PASSED [ 88%]
tests/test_outer_staticmethod.py::TestNamingOuterStaticMethod::test_class_object_qualname PASSED [ 89%]
tests/test_outer_staticmethod.py::TestNamingOuterStaticMethod::test_instance_argspec PASSED [ 89%]
tests/test_outer_staticmethod.py::TestNamingOuterStaticMethod::test_instance_doc_string PASSED [ 89%]
tests/test_outer_staticmethod.py::TestNamingOuterStaticMethod::test_instance_isinstance PASSED [ 89%]
tests/test_outer_staticmethod.py::TestNamingOuterStaticMethod::test_instance_module_name PASSED [ 89%]
tests/test_outer_staticmethod.py::TestNamingOuterStaticMethod::test_instance_object_name PASSED [ 90%]
tests/test_outer_staticmethod.py::TestNamingOuterStaticMethod::test_instance_object_qualname PASSED [ 90%]
tests/test_outer_staticmethod.py::TestCallingOuterStaticMethod::test_class_call_function PASSED [ 90%]
tests/test_outer_staticmethod.py::TestCallingOuterStaticMethod::test_instance_call_function PASSED [ 90%]
tests/test_pickle.py::TestObjectPickle::test_pickle PASSED [ 91%]
tests/test_pickle.py::TestObjectPickle::test_pickle_proxy PASSED [ 91%]
tests/test_post_import_hooks.py::TestPostImportHooks::test_after_import PASSED [ 91%]
tests/test_post_import_hooks.py::TestPostImportHooks::test_before_and_after_import PASSED [ 91%]
tests/test_post_import_hooks.py::TestPostImportHooks::test_before_import PASSED [ 92%]
tests/test_post_import_hooks.py::TestPostImportHooks::test_import_deadlock_1 PASSED [ 92%]
tests/test_post_import_hooks.py::TestPostImportHooks::test_import_deadlock_2 PASSED [ 92%]
tests/test_post_import_hooks.py::TestPostImportHooks::test_import_deadlock_3 PASSED [ 92%]
tests/test_post_import_hooks.py::TestPostImportHooks::test_loader PASSED [ 92%]
tests/test_post_import_hooks.py::TestPostImportHooks::test_remove_from_sys_modules PASSED [ 93%]
tests/test_synchronized_lock.py::TestSynchronized::test_synchronized_false_instance PASSED [ 93%]
tests/test_synchronized_lock.py::TestSynchronized::test_synchronized_function PASSED [ 93%]
tests/test_synchronized_lock.py::TestSynchronized::test_synchronized_inner_classmethod PASSED [ 93%]
tests/test_synchronized_lock.py::TestSynchronized::test_synchronized_inner_staticmethod PASSED [ 94%]
tests/test_synchronized_lock.py::TestSynchronized::test_synchronized_instancemethod PASSED [ 94%]
tests/test_synchronized_lock.py::TestSynchronized::test_synchronized_outer_classmethod PASSED [ 94%]
tests/test_synchronized_lock.py::TestSynchronized::test_synchronized_outer_staticmethod PASSED [ 94%]
tests/test_synchronized_lock.py::TestSynchronized::test_synchronized_type_new_style PASSED [ 94%]
tests/test_synchronized_lock.py::TestSynchronized::test_synchronized_type_old_style PASSED [ 95%]
tests/test_update_attributes.py::TestUpdateAttributes::test_update_annotations PASSED [ 95%]
tests/test_update_attributes.py::TestUpdateAttributes::test_update_annotations_modified_on_original PASSED [ 95%]
tests/test_update_attributes.py::TestUpdateAttributes::test_update_doc PASSED [ 95%]
tests/test_update_attributes.py::TestUpdateAttributes::test_update_doc_modified_on_original PASSED [ 96%]
tests/test_update_attributes.py::TestUpdateAttributes::test_update_module PASSED [ 96%]
tests/test_update_attributes.py::TestUpdateAttributes::test_update_module_modified_on_original PASSED [ 96%]
tests/test_update_attributes.py::TestUpdateAttributes::test_update_name PASSED [ 96%]
tests/test_update_attributes.py::TestUpdateAttributes::test_update_name_modified_on_original PASSED [ 97%]
tests/test_update_attributes.py::TestUpdateAttributes::test_update_qualname PASSED [ 97%]
tests/test_update_attributes.py::TestUpdateAttributes::test_update_qualname_modified_on_original PASSED [ 97%]
tests/test_weak_function_proxy.py::TestWeakFunctionProxy::test_call_expired PASSED [ 97%]
tests/test_weak_function_proxy.py::TestWeakFunctionProxy::test_classmethod FAILED [ 97%]
tests/test_weak_function_proxy.py::TestWeakFunctionProxy::test_decorator_method PASSED [ 98%]
tests/test_weak_function_proxy.py::TestWeakFunctionProxy::test_function PASSED [ 98%]
tests/test_weak_function_proxy.py::TestWeakFunctionProxy::test_instancemethod_delete_function PASSED [ 98%]
tests/test_weak_function_proxy.py::TestWeakFunctionProxy::test_instancemethod_delete_function_and_instance PASSED [ 98%]
tests/test_weak_function_proxy.py::TestWeakFunctionProxy::test_instancemethod_delete_instance PASSED [ 99%]
tests/test_weak_function_proxy.py::TestWeakFunctionProxy::test_isinstance PASSED [ 99%]
tests/test_weak_function_proxy.py::TestWeakFunctionProxy::test_no_callback PASSED [ 99%]
tests/test_weak_function_proxy.py::TestWeakFunctionProxy::test_staticmethod FAILED [ 99%]
tests/test_weak_function_proxy.py::TestArgumentUnpackingWeakFunctionProxy::test_self_keyword_argument PASSED [100%]
============================================================================================================================================== FAILURES ===============================================================================================================================================
_______________________________________________________________________________________________________________________________ TestWeakFunctionProxy.test_classmethod ________________________________________________________________________________________________________________________________
self = <test_weak_function_proxy.TestWeakFunctionProxy testMethod=test_classmethod>
def test_classmethod(self):
class Class(object):
@classmethod
def function(cls, a, b):
self.assertEqual(cls, Class)
return a, b
result = []
def callback(proxy):
result.append(id(proxy))
proxy = wrapt.WeakFunctionProxy(Class.function, callback)
self.assertEqual(proxy(1, 2), (1, 2))
Class = None
gc.collect()
> self.assertEqual(len(result), 1)
E AssertionError: 0 != 1
tests/test_weak_function_proxy.py:151: AssertionError
_______________________________________________________________________________________________________________________________ TestWeakFunctionProxy.test_staticmethod _______________________________________________________________________________________________________________________________
self = <test_weak_function_proxy.TestWeakFunctionProxy testMethod=test_staticmethod>
def test_staticmethod(self):
class Class(object):
@staticmethod
def function(a, b):
return a, b
result = []
def callback(proxy):
result.append(id(proxy))
proxy = wrapt.WeakFunctionProxy(Class.function, callback)
self.assertEqual(proxy(1, 2), (1, 2))
Class = None
gc.collect()
> self.assertEqual(len(result), 1)
E AssertionError: 0 != 1
tests/test_weak_function_proxy.py:172: AssertionError
========================================================================================================================================== warnings summary ===========================================================================================================================================
tests/conftest.py:21
/home/anubis/git/wrapt/tests/conftest.py:21: PytestRemovedIn9Warning: The (path: py.path.local) argument is deprecated, please use (module_path: pathlib.Path)
see https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path
def pytest_pycollect_makemodule(path, parent):
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================================================================================================= short test summary info =======================================================================================================================================
FAILED tests/test_weak_function_proxy.py::TestWeakFunctionProxy::test_classmethod - AssertionError: 0 != 1
FAILED tests/test_weak_function_proxy.py::TestWeakFunctionProxy::test_staticmethod - AssertionError: 0 != 1
============================================================================================================================== 2 failed, 436 passed, 1 warning in 3.25s ===============================================================================================================================
py313: exit 1 (4.07 seconds) /home/anubis/git/wrapt> python -m coverage run --rcfile /home/anubis/git/wrapt/setup.cfg -m pytest -v /home/anubis/git/wrapt/tests pid=2526876
.pkg: _exit> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
py313: FAIL code 1 (11.16=setup[7.09]+cmd[4.07] seconds)
evaluation failed :( (11.24 seconds)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment