Skip to content
Snippets Groups Projects
Commit a2df74853f8d authored by kiilerix's avatar kiilerix
Browse files

tests: fix sortdict doctest with Python 3.12

The output of OrderedDict changed to use plain dict syntax:

  $ python3.11 -c "import collections;print(collections.OrderedDict([('a', 0), ('b', 1)]))"
  OrderedDict([('a', 0), ('b', 1)])

  $ python3.12 -c "import collections;print(collections.OrderedDict([('a', 0), ('b', 1)]))"
  OrderedDict({'a': 0, 'b': 1})
parent faccec1edc2c
2 merge requests!647branching: merge stable into default,!627A bunch of 3.12 compat stuff
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment