Commit Graph

3 Commits

Author SHA1 Message Date
Takashi Kajinami 439ff976ab Get rid of deprecated xml.etree.cElementTree
xml.etree.cElementTree is deprecated since Python 3.3 and shows
the following warning.

DeprecationWarning: defusedxml.cElementTree is deprecated, import from
defusedxml.ElementTree instead.

Change-Id: I86bdefc7e59d1be540aae047c6b27fdcedf416ad
2021-07-24 22:11:58 +09:00
Sean McGinnis 94b0876429 Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I44e7b6f76e2d12f620ec602afc77ce11ba6b9d9a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-20 15:07:00 +00:00
Corey Bryant c58e5e02af Rename async package to async_
In Python 3.7, "async" is a keyword. To prevent it from
conflicting, rename the async package to async_.

Change-Id: I1eaf87eedb86679d9ca9323aac05f0770c33efea
Closes-Bug: #1781617
2018-08-07 14:42:14 -04:00