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:
Lubomír Sedlář 2024-11-22 14:52:59 +01:00 committed by lsedlar
parent 7d51229361
commit 3987688de6
46 changed files with 48 additions and 227 deletions

View file

@ -1,13 +1,10 @@
# -*- coding: utf-8 -*-
try:
from unittest import mock
except ImportError:
import mock
from parameterized import parameterized
import os
from io import StringIO
from unittest import mock
from parameterized import parameterized
from tests import helpers
from pungi import createiso