Remove Python 2 workarounds

Python 2 support was discontinued and workaround
for Python2 mock is no longer needed.
This commit is contained in:
Marta Marczykowska-Górecka 2020-03-25 18:38:55 +01:00
parent c0a8c6528a
commit 8e7db06918
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B

View File

@ -25,12 +25,8 @@ import unittest
import multiprocessing
try:
import unittest.mock as mock
from unittest.mock import call
except ImportError:
import mock
from mock import call
import unittest.mock as mock
from unittest.mock import call
import tempfile