Mercurial > hg
annotate .gitattributes @ 50753:a2df74853f8d stable
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})
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 27 Jun 2023 10:09:11 +0200 |
parents | 9fa3cda7449e |
children |
rev | line source |
---|---|
50425
9fa3cda7449e
heptapod: add `.gitattributes` file to improve language detection
Raphaël Gomès <rgomes@octobus.net>
parents:
diff
changeset
|
1 # So GitLab doesn't think we're using tons of Perl |
9fa3cda7449e
heptapod: add `.gitattributes` file to improve language detection
Raphaël Gomès <rgomes@octobus.net>
parents:
diff
changeset
|
2 *.t -linguist-detectable |