Remove Python 2 workarounds
Python 2 support was discontinued and workaround for Python2 mock is no longer needed.
This commit is contained in:
parent
c0a8c6528a
commit
8e7db06918
@ -25,12 +25,8 @@ import unittest
|
|||||||
|
|
||||||
import multiprocessing
|
import multiprocessing
|
||||||
|
|
||||||
try:
|
import unittest.mock as mock
|
||||||
import unittest.mock as mock
|
from unittest.mock import call
|
||||||
from unittest.mock import call
|
|
||||||
except ImportError:
|
|
||||||
import mock
|
|
||||||
from mock import call
|
|
||||||
|
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user