Skip to content

tests are failing for storing to two attributes with the same name #68

@15r10nk

Description

@15r10nk

I'm currently working on #64 and have some problems with the tests for 3.7 (reproducible on master)

The pipeline which is failing is the following:
https://github.com/alexmojaki/executing/actions/runs/4362346591/jobs/7627135034

I minimized the problem down to the following line (file was stored in tests/small_samples):

__arg.__deprecated__ = __new__.__deprecated__ = __msg

part of the test output (python 3.7.15):

mapping failed
Expected one value, found 2
search bytecode Instruction(opname='STORE_ATTR', opcode=95, arg=2, argval='__deprecated__', argrepr='__deprecated__', offset=6, starts_line=None, is_jump_target=False)

I don't know if this issue could be fixed in the SentinelNodeFinder or if it should be handled as an known issue and be ignored.

I also don't know why it started to appear now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions