Skip to content

VS2022: AttributeError: module '_pytest.compat' has no attribute '_translate_non_printable' #12222

Closed Answered by The-Compiler
EJelmer asked this question in General
Discussion options

You must be logged in to vote

I don't know how else to put this. Private/internal API (prefixed with _ in Python, i.e. _pytest) is exactly that: It's private and internal, and might change at any time. Yes, pytest changed, but things broke because VS is using things which aren't meant to be used by external projects in the first place. Thus, it's their job to either fix that, or adjust to pytest's changes.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@EJelmer
Comment options

@The-Compiler
Comment options

@EJelmer
Comment options

@The-Compiler
Comment options

Answer selected by EJelmer
@EJelmer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants