Skip to content

Commit

Permalink
FIX: fix tests for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Nov 21, 2023
1 parent 6c3362b commit e72674f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/repoma/utilities/vscode.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ def sort_case_insensitive(dct): # type: ignore[no-untyped-def]
sorting that is the same as `the one used by VS Code
<https://code.visualstudio.com/updates/v1_76#_jsonc-document-sorting>`_.
>>> import pytest, sys
>>> if sys.version_info >= (3, 12):
... pytest.skip()
...
>>> sort_case_insensitive(
... {
... "cSpell.enabled": True,
Expand Down

0 comments on commit e72674f

Please sign in to comment.