Fixed error with import

The import workaround didn't actually work.
Python does not handle "import x as y; from y import z"
and it worked only by accident.
This commit is contained in:
Marta Marczykowska-Górecka 2019-10-22 22:27:02 +02:00
parent 2d736f5aa8
commit cb82606328
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B

View File

@ -27,9 +27,10 @@ import multiprocessing
try:
import unittest.mock as mock
from unittest.mock import call
except ImportError:
import mock
from mock import call
from mock import call
import tempfile