Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_wrapped_method_type_inference (0.12 sec)

  1. tests/test_wrapped_method_forward_reference.py

    from .forward_reference_type import forwardref_method
    
    
    def passthrough(f):
        @functools.wraps(f)
        def method(*args, **kwargs):
            return f(*args, **kwargs)
    
        return method
    
    
    def test_wrapped_method_type_inference():
        """
        Regression test ensuring that when a method imported from another module
        is decorated with something that sets the __wrapped__ attribute (functools.wraps),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:23:14 UTC 2025
    - 997 bytes
    - Viewed (0)
Back to top