Skip to content

BUG: pytest v3.10.0 collects and runs all tests twice with "." in args (related to dupes) #4310

@animesharma

Description

@animesharma
  • On pytest v3.9.3:

============================= test session starts =============================
platform win32 -- Python 2.7.15, pytest-3.9.3, py-1.7.0, pluggy-0.8.0
rootdir: D:\project-name\tests, inifile: pytest.ini
plugins: xdist-1.24.0, metadata-1.7.0, html-1.19.0, forked-0.2, cov-2.6.0
collected 107 items
  • On pytest v3.10.0:

============================= test session starts =============================
platform win32 -- Python 2.7.15, pytest-3.10.0, py-1.7.0, pluggy-0.8.0
rootdir:  D:\project-name\tests, inifile: pytest.ini
plugins: xdist-1.24.0, metadata-1.7.0, html-1.19.0, forked-0.2, cov-2.6.0
collected 214 items
  • These are back to back runs with no code changes whatsoever in between.
  • All tests are being collected and run twice on v3.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: collectionrelated to the collection phasetype: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions