pytest-dev / py

Python development support library (note: maintenance only)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pytest collects the same tests multiple times after upgrading py to the newest version (1.8.1 -> 1.8.2)

spryg opened this issue · comments

commented

It is related to the changes in local.py

1.8.1:
def __hash__(self): return hash(self.strpath))
1.8.2:
def __hash__(self): s = self.strpath if iswin32: s = s.lower() return hash(s)

Can you provide a minimal reproduction?

No longer applies