AssertionError: assert 2 == 1
 +  where 2 = len({2: TraceSession(id=2, user='SYSDBA', timestamp=datetime.datetime(2024, 5, 12, 18, 57, 4), name='', flags=['active', ' trace']), 3: TraceSession(id=3, user='SYSDBA', timestamp=datetime.datetime(2024, 5, 12, 18, 57, 6), name='', flags=['active', ' trace'])})
 +    where {2: TraceSession(id=2, user='SYSDBA', timestamp=datetime.datetime(2024, 5, 12, 18, 57, 4), name='', flags=['active', ' trace']), 3: TraceSession(id=3, user='SYSDBA', timestamp=datetime.datetime(2024, 5, 12, 18, 57, 6), name='', flags=['active', ' trace'])} = <firebird.driver.core.ServerTraceServices object at 0x7fd3b73b2110>.sessions
 +      where <firebird.driver.core.ServerTraceServices object at 0x7fd3b73b2110> = <firebird.driver.core.Server object at 0x7fd3b73b2490>.trace

LOG DETAILS:

2024-05-12 19:15:55.353
2024-05-12 19:15:55.358 act = <firebird.qa.plugin.Action object at [hex]>
2024-05-12 19:15:55.364
2024-05-12 19:15:55.370 @pytest.mark.version('>=3.0.5')
2024-05-12 19:15:55.37

[...SKIPPED...]

e='', flags=['active', ' trace']), 3: TraceSession(id=3, user='SYSDBA', timestamp=datetime.datetime(2024, 5, 12, 18, 57, 6), name='', flags=['active', ' trace'])})
2024-05-12 19:15:55.413 E            +    where {2: TraceSession(id=2, user='SYSDBA', timestamp=datetime.datetime(2024, 5, 12, 18, 57, 4), name='', flags=['active', ' trace']), 3: TraceSession(id=3, user='SYSDBA', timestamp=datetime.datetime(2024, 5, 12, 18, 57, 6), name='', flags=['active', ' trace'])} = <firebird.driver.core.ServerTraceServices object at [hex]>.sessions
2024-05-12 19:15:55.418 E            +      where <firebird.driver.core.ServerTraceServices object at [hex]> = <firebird.driver.core.Server object at [hex]>.trace
2024-05-12 19:15:55.423
2024-05-12 19:15:55.428 tests/bugs/core_5995_test.py:31: AssertionError
2024-05-12 19:15:55.432 ---------------------------- Captured stdout setup -----------------------------
2024-05-12 19:15:55.437 Cached db: db-12.0-None-None-NONE.fdb [page_size=None, sql_dialect=None, charset='NONE'