Directly import mock from unittest
It is not a separate package since Python 3.3 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
7d51229361
commit
3987688de6
46 changed files with 48 additions and 227 deletions
|
|
@ -1,10 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
try:
|
||||
from unittest import mock
|
||||
except ImportError:
|
||||
import mock
|
||||
|
||||
from unittest import mock
|
||||
import os
|
||||
import unittest
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue