Skip to content

Running test fails trying to access non-existing file #12403

Closed
@tenspd137

Description

@tenspd137

Using vscode-python 2020.6.88468
VSCode 1.46.0

When I run a test using the pytest framework, there is always an error at the end of the log:

Error: Error: cannot open file:///c%3A/Code/pixelcrunch/C. Detail: Unable to read file 'c:\Code\pixelcrunch\C' (Error: Unable to resolve non-existing file 'c:\Code\pixelcrunch\C')

regardless if the test itself actually passes or fails:

image

I don't know what is causing it to look for this file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testingbugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions