Skip to content

Python 3.11 - getdefaultlocale() deprecated #67

@vsalvino

Description

@vsalvino

Running this package on Python 3.11 yields deprecation warnings:

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/pytest_nunit/nunit.py:119: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
    language_code = locale.getdefaultlocale()[0]

See:

(I will try to provide a fix at some point if nobody else takes it up... logging the issue here for memory's sake)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions