Skip to content

pytest 8.0 keeps returning AttributeError: 'CallSpec2' object has no attribute 'funcargs' #11890

@vanloc1808

Description

@vanloc1808

After upgrading to pytest 8.0, I see a lot of tests failed with the error.
I observe that failed tests happen when there is usage of pytest_lazyfixture with pytest 8.0.0.
image

Operating System: Ubuntu 22.04

  • a detailed description of the bug or problem you are having
  • output of pip list from the virtual environment you are using
  • pytest and operating system versions
  • minimal example if possible

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs informationreporter needs to provide more information; can be closed after 2 or more weeks of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions