Skip to content

tmp_path fixture provider is symlink Path on MacOS #4653

@AuHau

Description

@AuHau
platform darwin (10.14) -- Python 3.6.5, pytest-3.10.1, py-1.7.0, pluggy-0.8.1 

The bug of #110 was reintroduced by refactoring to the usage of pathlib.Path.

On MacOS provided Path by tmp_path fixture is symlink and when cded into it, it changes into one prefixed by /private.

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: tmpdirrelated to the tmpdir builtin plugintopic: fixturesanything involving fixtures directly or indirectlytype: regressionindicates a problem that was introduced in a release which was working previously

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions