Skip to content

Weird failure in test_remove_multiple_static_handlers #1656

Open
@lostmsu

Description

@lostmsu
        ob.OnPublicStaticEvent(EventArgsTest(10))
        assert handler.value == 20
    
        ob.PublicStaticEvent -= h1
    
        ob.OnPublicStaticEvent(EventArgsTest(10))
>       assert handler.value == 30
E       assert 40 == 30
E        +  where 40 = <tests.utils.MultipleHandler object at ADDR>.value

tests\test_event.py:419: AssertionError

It happened only with Python 3.10 and only on Windows.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions