Skip to content

Test discovery fails when using latest version of PyTest #4099

Closed

Description

Previous versions would contain quotes around file names:

<Module 'test_foo.py'>
  <Function 'test_a'>
  <Function 'test_b'>

New version of PyTest doesn't.
Hence the code used to parse the output fails.

Activity

  1. ghost added
    triage-neededNeeds assignment to the proper sub-team
    on Jan 23, 2019
  2. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Jan 23, 2019
  3. added
    bugIssue identified by VS Code Team member as probable bug
    triage-neededNeeds assignment to the proper sub-team
    on Jan 23, 2019
  4. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Jan 23, 2019
  5. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Jan 23, 2019
  6. crwilcox commented on Jan 23, 2019

    @crwilcox

    Temporary workaround, pin pytest<=4.0.0 as it seems 4.1.x brought the change

  7. sbrierly commented on Jan 25, 2019

    @sbrierly

    Thank you for opening the issue and for posting a workaround! This was driving me nuts.

  8. locked as resolved and limited conversation to collaborators on Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-testingbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions