diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ac8492d7..6a6fe93e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,12 +9,12 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: - - "3.6" + python-version: - "3.7" - "3.8" - "3.9" - "3.10" + - "3.11" steps: - uses: actions/checkout@v2 with: diff --git a/cairosvg/features.py b/cairosvg/features.py index 199a1a0e..b47dacf3 100644 --- a/cairosvg/features.py +++ b/cairosvg/features.py @@ -6,7 +6,7 @@ import locale ROOT = 'http://www.w3.org/TR/SVG11/feature' -LOCALE = locale.getdefaultlocale()[0] or '' +LOCALE = locale.getlocale()[0] or '' SUPPORTED_FEATURES = frozenset(( ROOT + '#' + feature for feature in ( 'SVG',