Upgrade isort to 5.4.2 (#37939)
This commit is contained in:
parent
1bf2c4d976
commit
6ae9399237
23 changed files with 38 additions and 41 deletions
|
@ -3,6 +3,7 @@ import sys
|
|||
|
||||
if sys.version_info[:2] < (3, 8):
|
||||
from asynctest.mock import * # noqa
|
||||
from asynctest.mock import CoroutineMock as AsyncMock # noqa
|
||||
|
||||
AsyncMock = CoroutineMock # noqa: F405
|
||||
else:
|
||||
from unittest.mock import * # noqa
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue