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,10 +1,6 @@
# -*- coding: utf-8 -*-
try:
from unittest import mock
except ImportError:
import mock
from unittest import mock
import os
import unittest