Skip to content

assert rewriting: support sys.pycache_prefix (py38) #4730

Closed
@blueyed

Description

@blueyed

A new feature will be added in Python 3.8 allowing to specify an alternate prefix/location for the pycache files: https://github.com/python/cpython/blame/dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c/Doc/whatsnew/3.8.rst#L70-L83

Pytest should support/use this with its assertion rewriting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: rewriterelated to the assertion rewrite mechanismtype: backward compatibilitymight present some backward compatibility issues which should be carefully noted in the changelogtype: enhancementnew feature or API change, should be merged into features branchtype: feature-branchnew feature or API change, should be merged into features branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions