##// 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})

File last commit:

r51590:e7ef11b7 default
r51646:a2df7485 stable
Show More
__main__.py
12 lines | 215 B | text/x-python | PythonLexer
def run():
from . import demandimport
with demandimport.tracing.log('hg script'):
demandimport.enable()
from . import dispatch
dispatch.run()
if __name__ == '__main__':
run()