diff options
author | Felix Schwarz <felix.schwarz@oss.schwarz.eu> | 2020-05-05 09:58:01 +0200 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2020-05-05 11:15:20 +0300 |
commit | 167b71421f113e2210e4deefef5020402492e5be (patch) | |
tree | f07b824c342a2ea70eb1e1ce6f21233b5c4ce859 /tests/test_util.py | |
parent | 4ce6f13412705949f6d74579f15cad15cf00fed7 (diff) | |
download | babel-167b71421f113e2210e4deefef5020402492e5be.tar.gz |
stop using deprecated ElementTree methods "getchildren()" and "getiterator()"
Both methods were removed in Python 3.9 as mentioned in the release notes:
> Methods getchildren() and getiterator() of classes ElementTree and Element in
> the ElementTree module have been removed. They were deprecated in Python 3.2.
> Use iter(x) or list(x) instead of x.getchildren() and x.iter() or
> list(x.iter()) instead of x.getiterator().
Diffstat (limited to 'tests/test_util.py')
0 files changed, 0 insertions, 0 deletions