Skip to content

Segfaulted test not marked as failed #20832

@tekumara

Description

@tekumara

Environment data

  • Language Server version: 2023.3.20
  • OS and version: darwin arm64
  • Python version (and distribution if applicable, e.g. Anaconda): 3.9.13
  • python.analysis.indexing: true
  • python.analysis.typeCheckingMode: basic

Code Snippet

def test_segfault():
    #pass
    # generate segfault in python 3.9.13
    eval((lambda:0).__code__.replace(co_consts=()))

Repro Steps

CleanShot.2023-03-11.at.11.03.11.mp4

Expected behavior

Test status is set to failure, ie: read

Actual behavior

Test status is not updated, ie: remains green

Logs

XXX

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions