Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In pytest-dev#7687 a bugfix was added after NOTSET was changed to a singleton enum, which ended up breaking ID generation when it checked for isinstance(Enum). That change, however, did not update the code path in the same ID generation when used as an idfn function. This adjusts the logic to handle both cases.
- Loading branch information