##// END OF EJS Templates
tests: fix sortdict doctest with Python 3.12...
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})
Mads Kiilerich -
r51646:a2df7485 stable
Show More
Name Size Modified Last Commit Author
/ mercurial / thirdparty / attr
LICENSE Loading ...
__init__.py Loading ...
__init__.pyi Loading ...
_cmp.py Loading ...
_cmp.pyi Loading ...
_compat.py Loading ...
_config.py Loading ...
_funcs.py Loading ...
_make.py Loading ...
_next_gen.py Loading ...
_version_info.py Loading ...
_version_info.pyi Loading ...
converters.py Loading ...
converters.pyi Loading ...
exceptions.py Loading ...
exceptions.pyi Loading ...
filters.py Loading ...
filters.pyi Loading ...
py.typed Loading ...
setters.py Loading ...
setters.pyi Loading ...
validators.py Loading ...
validators.pyi Loading ...