from collections import xxx is about to be deprecated in python 3.10. We need to change all from collections import xxx to import collections.abc as abc, and modified the functions that depends on collections to abc.xxx
Reproduce the message
Enter following code
> pytest
Log
Tasks
[x] Change from collections import xxx to import collections.abc
[x] Modified the functions that depends on collections to abc.xxx
Remember following the guide in CONTRIBUTING.rst to build your virtual environment and test before sending a PR.
Description
from collections import xxx
is about to be deprecated in python 3.10. We need to change allfrom collections import xxx
toimport collections.abc as abc
, and modified the functions that depends on collections toabc.xxx
Reproduce the message
Enter following code
Log
Tasks
from collections import xxx
toimport collections.abc
abc.xxx
Remember following the guide in CONTRIBUTING.rst to build your virtual environment and test before sending a PR.